The number of intervals per day (step_delta) is hard-coded in partition.py and may therefore be inconsistent with user specification of this interval in a model run:
Refactor to use utils/datetime.py to set a datetime interval. Remove assertion in seir/base.py that works around this hard-coding bug by asserting step_delta is one day.
step_delta is not surfaced in the CLI, but it is set by CLI-dependent helper functions (with the current workflow being to create a new CLI script for each use case).
The number of intervals per day (
step_delta
) is hard-coded inpartition.py
and may therefore be inconsistent with user specification of this interval in a model run:https://github.com/eho-tacc/episimlab/blob/8b0b66b8ce866b21650ac1f4e018d6a34e4a2ead/episimlab/partition/partition.py#L127
Refactor to use
utils/datetime.py
to set a datetime interval. Remove assertion inseir/base.py
that works around this hard-coding bug by assertingstep_delta
is one day.