In divide_condition.py, use a divider that sets the division variable to False instead of 0. 0 worked because it is falsy, but the variable is really supposed to be a boolean.
In vivarium/core/engine.py, our check for step-flow consistency did not correctly handle the case where steps are nested in sub-dicts. This PR fixes the check.
By creating this pull request, I agree to the Contributor License
Agreement, which is available in CLA.md at the top level of this
repository.
Fix a couple bugs:
divide_condition.py
, use a divider that sets the division variable toFalse
instead of0
.0
worked because it is falsy, but the variable is really supposed to be a boolean.vivarium/core/engine.py
, our check for step-flow consistency did not correctly handle the case where steps are nested in sub-dicts. This PR fixes the check.By creating this pull request, I agree to the Contributor License Agreement, which is available in
CLA.md
at the top level of this repository.