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:

LayeredConfigTree

Parameters:
  • model_specification (str | Path | LayeredConfigTree | None)

  • component_configuration (Dict | LayeredConfigTree | None)

  • configuration (Dict | LayeredConfigTree | None)

  • plugin_configuration (Dict | LayeredConfigTree | None)

vivarium.framework.configuration.validate_model_specification_file(file_path)[source]

Ensures the provided file is a yaml file

Return type:

None

Parameters:

file_path (str | Path)

vivarium.framework.configuration.build_simulation_configuration()[source]
Return type:

LayeredConfigTree