Skip to content

qbicsoftware/sample-tracking-update-portlet

Repository files navigation

NOT MAINTAINED ANYMORE

Sample Tracking Update Portlet

Build StatusCode Coverage

Sample Tracking Update Portlet, version 1.3.5 - Portlet to update sample status

Author

Created by all the contributors

Description

A Liferay portlet to update the sample-tracking information of selected samples.

Architecture

How to Install

Prerequisites

  1. A Liferay 6.2 Portal

  2. Access to a running instance of the sample-tracking service

  3. A running openBIS instance

  4. A configuration file providing information about the location of the sample-tracking service as well as the database and the openBIS instance

Installation

Either run it locally or deploy it on your liferay instance. To run it locally you can execute mvn clean jetty:run. To deploy it on your liferay instance you can create the required .war file by executing mvn clean package

How to Use

This guide intends to showcase the features of the sample-tracking-update-portlet.

Select Samples

The sample-tracking-update-portlet currently offers two methods for adding the samples to update.
This can be achieved by either uploading a *.tsv file containing the sample identifiers in the first column or by providing them directly.
Details for both methods are outlined below.

Select Sample By ID

The most convenient way of updating a singular sample is through the input of its QBiC sample identifier into the "Sample ID" text field and pressing the "Add Sample Button". add

If the given sample identifier is valid, the sample and its associated information will appear in the "Samples to update" grid add

Each subsequent sample identifier will be added to the "Samples to update" grid add

Select Samples By File

It is also possible to select the samples of interest, by uploading one or multiple *.tsv files containing the sample codes in the first column. add

A template file can be found at readme-docs/templates/example.tsv.

If the sample identifiers in the tsv file are valid, and if they are not already in the list of loaded samples, the samples and their associated information will appear in the sample grid. add

Subsequent sample identifiers from either a *.tsv file or by direct input will also be added to the "Samples to update" grid.

Update Sample Information

After the addition of the samples of interest, the user can update sample specific information, such as the sample arrival date, the sample location or the processing status of the sample.
Details for each of these methods are outlined below.
It should be noted that the change is applied to all samples in the "Samples to update" grid. You can either update a single property or update multiple properties at once by pressing the "Update Samples" button.

Update Sample Date

To change the arrival date for all selected samples, a new arrival date can be specified through manual user input or by clicking on the calendar icon of the "New Arrival Date" Field

The date and time has to provided formatted as prefilled by the system yyyy-MM-dd hh:mm:ss a.

Pressing the "Update Samples" button submits your changes.

Update Sample Location

To change the location for all selected samples, a new sample location can be selected in the "New Sample Location" dropdown selection.
add

Pressing the "Update Samples" button submits your changes.

Update Sample Status

To change the status for all selected samples, a new sample status can be selected in the "New Sample Status" dropdown selection.
add

Pressing the "Update Samples" button submits your changes.

Verifying Successful Update

After pressing the "Update Samples" button, the samples will be updated with the provided information. add A successful update can be verified by selecting the samples again and observing the changed information. add Please note, that the information shown reflects the most recent status and location found for the sample, so changes for a past date are not presented.

Remove Samples From Selection

By pressing the "Clear List" button you can remove all samples from the selection. add

About

[Not Maintained] Portlet to update sample status, location and general information

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Contributors 8