load_distribution_parameters_from_file#
- rojak.orchestrator.lite_controller.load_distribution_parameters_from_file(file_path)[source]#
Load a mapping of diagnostic name to
DistributionParametersfrom JSONLoads the file written by
compute_distribution_parameters()(viaexport_json()).- Parameters:
file_path (Path) – Path to the distribution parameters JSON file
- Returns:
Mapping from diagnostic name to its distribution parameters
- Raises:
FileNotFoundError – If
file_pathdoes not existValueError – If
file_pathis not a file
- Return type:
Mapping[DiagnosticName, DistributionParameters]