load_distribution_parameters_from_file#

rojak.orchestrator.lite_controller.load_distribution_parameters_from_file(file_path)[source]#

Load a mapping of diagnostic name to DistributionParameters from JSON

Loads the file written by compute_distribution_parameters() (via export_json()).

Parameters:

file_path (Path) – Path to the distribution parameters JSON file

Returns:

Mapping from diagnostic name to its distribution parameters

Raises:
Return type:

Mapping[DiagnosticName, DistributionParameters]