Closed laceysanderson closed 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.
Other than this, all worked 👍.
There, I was able to duplicate the problem and feel I have fixed it. Can you double check @reynoldtan?
Merge conflicts fixed. Make sure to clear the cache before re-testing this as a previous PR moved directories a bit.
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.
Good call, it's disabled now when it's autofilled.
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: