flownet.config_parser._config_parser_pred module
- flownet.config_parser._config_parser_pred.create_schema(config_folder: Optional[pathlib.Path] = None) Dict
Returns a configsuite type schema, where configuration value types are defined, together with which values are optional and/or has default values.
- Parameters
config_folder – Optional path to folder with config file
- Returns
Dictionary to be used as configsuite type schema
- flownet.config_parser._config_parser_pred.parse_pred_config(base_config: pathlib.Path, update_config: Optional[pathlib.Path] = None) <property object at 0x7f15b0f78830>
Takes in path to a yaml configuration file, parses it, populates with default values where that is defined and the has not provided his/her own value. Also error checks input arguments, and making sure they are of expected type.
- Parameters
base_config – Path to the main configuration file.
update_config – Optional configuration file with key/values to override in main configuration file.
- Returns
Parsed config, where values can be extracted like e.g. ‘config.ert.queue.system’.