hipscatalog_gen.load_config

load_config(path)[source]

Load configuration from a YAML file.

The YAML structure must follow the sections described in display_available_configs(). For an overview of all available configuration keys (required vs optional, and defaults), call:

from hipscatalog_gen.config import display_available_configs display_available_configs()

Parameters:

path (str) – Path to the YAML configuration file.

Returns:

Parsed Config instance.

Raises:

ValueError – If algorithm options are inconsistent.

Return type:

Config