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 25 forks source link

CanCOGeN template: validation to check collection dates come before sequencing dates #261

Closed griffie closed 2 years ago

griffie commented 2 years ago

Samples are collected first before they are sequenced. But currently we have some errors cropping up where collection dates are later than the entered sequencing dates.

Can the DH validation flag seq dates that are earlier than collection dates as errors?

ddooley commented 2 years ago

This test is now in master, by allowing "min value" and "max value" to reference not only static dates, and {today}, but as well other fields matched using "{field name}"