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
Allow `getDataObjects` to export invalid data #350
Currently the getDataObjects method excludes table values that are not mappable to the column's data type (as defined by the schema). NMDC has a use-case where they would like to be able to save in-progress work that may not necessarily be valid.
I propose adding a strict (default true) flag to the getDataObjects method. If strict is true the existing behavior is maintained. If strict is false, it should not attempt to parse values based on the column type and return all values as strings.
Currently the
getDataObjects
method excludes table values that are not mappable to the column's data type (as defined by the schema). NMDC has a use-case where they would like to be able to save in-progress work that may not necessarily be valid.I propose adding a
strict
(defaulttrue
) flag to thegetDataObjects
method. Ifstrict
is true the existing behavior is maintained. Ifstrict
is false, it should not attempt to parse values based on the column type and return all values as strings.