Closed brynpickering closed 8 months ago
Worth noting that in 4991efefb5459f61dffa023d8e10ed2a002d68be I implemented it in the backend, then I switched it to being implemented in model.py
. I think it works better as a "controller" outside the backend, but maybe not polluting model.py
? Imagine adding spores
mode to the same class and then you start to see calliope.Model
becoming quite large. Maybe that's ok though
Options for run modes:
backend
?) that acts as a controller. This is akin to run.py
in the v0.6 implementation.Attention: 10 lines
in your changes are missing coverage. Please review.
Comparison is base (
60b0df8
) 95.65% compared to head (46678a8
) 95.66%.
Fixes #432
This is mostly to confirm that we're happy with how we approach adding new run modes into the new calliope internals. I would love to have operate mode work with #127 but suspect it needs more planning.
Summary of changes in this pull request:
Reviewer checklist: