ska_sdp_e2e_batch_continuum_imaging.pipelines.utilities.config_loader module

ska_sdp_e2e_batch_continuum_imaging.pipelines.utilities.config_loader.load_sdp_config(config_path)[source]

Load an SDP configuration from a JSON file.

Parameters:

config_path (str) -- Absolute path to the SDP configuration JSON file.

Return type:

SDPBatchE2EPipelineConfig

Returns:

The loaded SDP configuration.

Raises:

FileNotFoundError -- If the configuration file does not exist.

ska_sdp_e2e_batch_continuum_imaging.pipelines.utilities.config_loader.merge_dictionaries(original, override)[source]

Override the keys in original dictionary with values from override recursively.

Parameters:
  • original (dict) -- The original dictionary.

  • override (dict) -- The dictionary which will be used to override the original dictionary.

Return type:

dict

Returns:

A new dictionary which is merger of both inputs