gaps.config.load_config#

load_config(config_filepath, resolve_paths=True)[source]#

Load a config file

Parameters:
  • config_filepath (path-like) – Path to config file.

  • resolve_paths (bool, optional) – Option to (recursively) resolve file-paths in the dictionary w.r.t the config file directory. By default, True.

Returns:

dict – Dictionary containing configuration parameters.

Raises:

gapsValueError – If input config_filepath has no file ending.