realtwin.func_lib.load_input_config

realtwin.func_lib.load_input_config(path_config: str) dict[source]

load input configuration from yaml file

Parameters:

path_config (str) – the path of the configuration file in yaml format

Raises:
  • FileNotFoundError – if the file is not found

  • ValueError – if the file is not in yaml format

Returns:

the dictionary of the configuration data

Return type:

dict