cidgoh / DataHarmonizer

A standardized browser-based spreadsheet editor and validator that can be run offline and locally, and which includes templates for SARS-CoV-2 and Monkeypox sampling data. This project, created by the Centre for Infectious Disease Genomics and One Health (CIDGOH), at Simon Fraser University, is now an open-source collaboration with contributions from the National Microbiome Data Collaborative (NMDC), the LinkML development team, and others.
MIT License
91 stars 23 forks source link

DataHarmonizer has integer and decimal datatypes, but current code is saving these values as strings. #439

Open ddooley opened 2 weeks ago

ddooley commented 2 weeks ago

For numeric validation to work, we need to have DataHarmonizer save these as integer or decimal values if they have that datatype. Often the fields/slots may also take null value menu though, so code has to attempt a numeric parse on field value. A possibility of multiple values exists as well (in array).