ScottishCovidResponse / SCRCIssueTracking

Central issue tracking repository for all repos in the consortium
6 stars 0 forks source link

Make loadtable read from output directory before data directory #659

Closed ianhinder closed 4 years ago

ianhinder commented 4 years ago

Currently loadtable looks first in the data directory, and if it doesn't find a file there, it looks in the output directory. This allows you to run on newly simulated data only if there is no data in the data directory. Since we have now put simulated transition data in the data directory, this makes it impossible to run on newly-simulated data with the example data directory.

loadtable should be changed to read first from the output directory, and only if files are not found there, to read from the data directory.

github-actions[bot] commented 4 years ago

Heads up @chrispooley @ianhinder @rwj11 - the "BEEPmbp" label was applied to this issue.

ianhinder commented 4 years ago

Implemented in https://github.com/ScottishCovidResponse/BEEPmbp/pull/18.