Classes | |
| class | ParseNSGA2Config |
| class | ParseResourceConfig |
Functions | |
| def | get_optimization_config (desc='The help information is supposed not be empty.') |
| def | parse_datetime_from_ini (cf, section_name, option_name, print_warn=True, required=True) |
Parse common used value or class from the configuration (*.ini) file.
@author : Liangjun Zhu
@changelog:
- 18-10-29 - lj - Extract from other packages.
- 23-03-29 - lj - ReWrite check_config_option and get_option_value functions.
| def seims.utility.parse_config.get_optimization_config | ( | desc = 'The help information is supposed not be empty.' | ) |
Parse arguments.
Returns:
cf: ConfigParse object of *.ini file
mtd: Method name, e.g., 'nsga2' for optimization, 'morris' for sensitivity analysis.
| def seims.utility.parse_config.parse_datetime_from_ini | ( | cf, | |
| section_name, | |||
| option_name, | |||
print_warn = True, |
|||
required = True |
|||
| ) |
Parse datetime from the `ConfigParser` object.