CDCgov / cfa-viral-lineage-model

Apache License 2.0
9 stars 0 forks source link

Data synchronization #33

Closed afmagee42 closed 3 weeks ago

afmagee42 commented 3 weeks ago

This PR makes it so that present-day-forecasting/main.py generates its own dataset.

Previously our workflow was to first download the data, then run the present-day-forecasting/main.py. This allowed for the downloaded data to correspond to a time-horizon that was different from what was specified in present-day-forecasting/config.yaml.

I refactored linmod.data such that the functionality of linmod.data__main__ is now in a function linmod.data.main() which present-day-forecasting/main.py calls using the config it was provided.

thanasibakis commented 3 weeks ago

This is nice!