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
25
forks
source link
CanCOGeN template: Maximums in collection dates #259
We are having issues with collection dates in the future (likely due to the 2021/2022 change over e.g. 2022-12-30 instead of 2021-12-30).
Can we put in a safeguard in the validation code to check that collection dates are not beyond "today" (whatever the user's computer registers as "today").
I've added functionality that putting the string "{today}" into a date field's "min value" or "max value" will trigger a validation check against whatever {today} evaluates to (ignoring time zones).
We are having issues with collection dates in the future (likely due to the 2021/2022 change over e.g. 2022-12-30 instead of 2021-12-30).
Can we put in a safeguard in the validation code to check that collection dates are not beyond "today" (whatever the user's computer registers as "today").