pyopmspe11.utils.inputvalues module
Utility functions to set required input values for pyopmspe11.
- pyopmspe11.utils.inputvalues.load_config_txt(lines: list) dict
Read the txt (the types are checked when creating the Config data class)
- pyopmspe11.utils.inputvalues.postprocesstoml(cfg: Config, time: float, msg1: str, msg2: str) None
Convert units and generate variables.
- pyopmspe11.utils.inputvalues.process_input(cli: dict) Config
Process configuration input.
The function constructs a
Configobject from CLI and file input, then mutates it in place during post-processing (for example viasetcaseproperties,postprocesstoml, and optional tuning flag updates) before returning it.