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

Input File now requires method name and unit. #60

Closed laceysanderson closed 5 years ago

laceysanderson commented 5 years ago

Metadata

Documentation:

Description

Since the upload file format only has a column for trait name, if the same trait is in the file with multiple measurements, they will be combined. For example, if we have a time course for canopy height (same trait, multiple methods) then the describe form will only show a single fieldset for canopy height and you will only be able to specify a single method.

Solution: add unique short measurement name and unit to file format and autofill fields based on them.

Testing?

To test this PR, try uploading files with more then one method per trait. When done you should see both methods listed under the same trait in the trait distribution plot selection form.

Things to keep an eye on:

reynoldtan commented 5 years ago

No autofill value in Collection Method Description when using an existing Method Name. Name, Trait Description, Name and other field have value.

screen shot 2019-02-19 at 10 22 12 am

Other than this, all worked 👍.

laceysanderson commented 5 years ago

There, I was able to duplicate the problem and feel I have fixed it. Can you double check @reynoldtan?

laceysanderson commented 5 years ago

Merge conflicts fixed. Make sure to clear the cache before re-testing this as a previous PR moved directories a bit.

reynoldtan commented 5 years ago

Works 👍 , my collection method description now has autofill value. @laceysanderson did you intend the field to be disabled like the rest of the fields? It is enabled on my test shown below. screen shot 2019-02-20 at 11 19 59 am 2

laceysanderson commented 5 years ago

Good call, it's disabled now when it's autofilled.