vector-engineering / covidcg

A COVID-19 CoV Genetics (CG) browser to inform therapeutics development
https://covidcg.org
MIT License
26 stars 5 forks source link

workflow_main/analyses/scripts/surveillance.py Not Filtering on surv_start_date #449

Closed favelava closed 2 years ago

favelava commented 2 years ago

In development, workflow_main/analyses/scripts/surveillance.py is outputting a dataframe without taking surv_start_date into account. surv_start_date should override any other start date argument

favelava commented 2 years ago

Closing this issue; the workflow processing is working as intended. The surv_start_date provided in the config that opened this issue was improperly formatted (MM/DD/YYYY) which resulted in all data being included in the dataframe. Surv_start_date (and all dates) should be formatted as YYYY/MM/DD.