exosim.tasks.load.loadOptions#
Classes#
Reads the XML file with payload parameters and returns an object with attributes related to the input data. |
Module Contents#
- class LoadOptions[source]#
Bases:
exosim.tasks.task.TaskReads the XML file with payload parameters and returns an object with attributes related to the input data.
- Variables:
config_path (str) – Configuration path.
- Returns:
Parsed XML input file.
- Return type:
- Raises:
IOError – If the indicated file is not found or the format is not supported.
Examples
>>> load_options = LoadOptions() >>> options = load_options(filename='path/to/file.xml')