Configuration Utilities
A set of functions for turning model specification files into programmatic representations of model specifications and configurations.
- vivarium.framework.configuration.build_model_specification(model_specification=None, component_configuration=None, configuration=None, plugin_configuration=None)[source]
- Return type:
- Parameters:
model_specification (str | Path | LayeredConfigTree | None)
component_configuration (dict[str, Any] | LayeredConfigTree | None)
configuration (dict[str, Any] | LayeredConfigTree | None)
plugin_configuration (dict[str, dict[str, dict[str, str]]] | LayeredConfigTree | None)
- vivarium.framework.configuration.validate_model_specification_file(file_path)[source]
Ensures the provided file is a yaml file.