UofS-Pulse-Binfo / analyzedphenotypes

Tripal/Drupal support for analyzed phenotypic data including data loaders, exporters, trait pages and summaries on germplasm pages.
GNU General Public License v2.0
0 stars 1 forks source link

Data Importer Improvements #117

Closed reynoldtan closed 4 years ago

reynoldtan commented 4 years ago

Metadata

Documentation:

Description

Dependencies

Testing?

To test: 1. Re-upload option image Upload a valid file. A. This option is not available when uploading a file (while validating) B. This option is not available when validation is complete and successful. Upload an invalid file, for example set the Trait Name to blank for a row. C. This option is available when a failed upload.

2. Auto select genus image Type in experiment name in the autocomplete field. A. Genus will auto select for a corresponding experiment. B. Experiment field will select previously entered experiment for quick edit. C. A previously set genus will reset to default ('- Select -') when experiment field is left empty or if experiment has no matching genus set.

3. Import Button and Spaces around button. image image

A. Upload a file and navigate to Stage 1, Stage 2 and Stage 3, keeping an eye on the button. In all stage Import Button is not available and Next or Save button has spacing around.

4. Not Validating Unit to Data. A. Upload a data and set Unit column to count or days and set the value in Value column to string value (ie. cat, hello).

5. Not Validating Empty file. A. Upload a completely empty file. B. Upload a file with just the column header. C. Upload a file with column header and a blank/empty row.

In any of the test cases above, the upload will halt. Screen Shot 2019-11-27 at 1 26 47 PM