Reimplemented YAML model configuration with pydantic - which really is more suitable for this than the base block [#2] implementations. It seems that the pydantic config classes and base blocks should be merged, so that the critter.config.CritterConfig class is not required to translate between them.
Model configs from YAML are great for sharing tempates of specific model configurations - e.g. a sliced sampling proportion birth death skyline model. Itm ight also provide a way forward to implement dynamic configuration of the parameters from the CLI.
Reimplemented
YAML
model configuration withpydantic
- which really is more suitable for this than the base block [#2] implementations. It seems that thepydantic
config classes and base blocks should be merged, so that thecritter.config.CritterConfig
class is not required to translate between them.Model configs from
YAML
are great for sharing tempates of specific model configurations - e.g. a sliced sampling proportion birth death skyline model. Itm ight also provide a way forward to implement dynamic configuration of the parameters from the CLI.