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

Currently doesn't use cvterms for scales #45

Open laceysanderson opened 5 years ago

laceysanderson commented 5 years ago

The upload function currently always sets the phenotype.cvalue_id = null. In the case of scales, this should be set to the cvterm_id matching the value.

laceysanderson commented 3 years ago

For scales where the data uploaded doesn't match the scale (e.g. scale of 1-small, 2-medium, 3-large but the data has 1.5 and 2.5) the upload form should emit and error and block upload.