VEuPathDB / EdaNewIssues

0 stars 0 forks source link

Unit not displayed for ordinal variable in ClinEpiDB NECTAR1 #560

Closed jaycolin closed 1 year ago

jaycolin commented 1 year ago

Variable EUPATH_0061010 "Time since intervention started" should appear as "Time since intervention started (days)"

https://qa.restricted.clinepidb.org/ce.restricted.qa/app/workspace/analyses/DS_7b47eb7469/JFfj5bN/variables/EUPATH_0000738/EUPATH_0061010

The unit information is definitely loaded in the database. So this is a UI issue. I think because there are only 11 unique values in 'Time since intervention started' it is loaded as having data_shape='ordinal' and data_type="string".

OBI_0003073 "Temperature (C)" also has a unit loaded, and it it correctly displayed.

jaycolin commented 1 year ago

This was forced to ordinal in data loading, fixed by not loading it that way