zospy.analyses.new.base.AnalysisWrapper#
- class zospy.analyses.new.base.AnalysisWrapper#
Bases:
ABC,Generic[AnalysisData,AnalysisSettings]- Attributes:
- TYPE
- analysis
config_filePath to the temporary configuration file.
- oss
settingsSettings of the analysis.
text_output_filePath to the temporary text output file.
Methods
__call__(oss, *args, **kwargs)Call self as a function.
get_text_output
parse_output
run
run_analysis
- __init__(settings: AnalysisSettings, settings_arguments: dict[str, any])#
- property config_file: Path | None#
Path to the temporary configuration file.
This file is used to store the settings of the analysis and can only be set from the run method.
- Returns:
- Path | None
Path to the temporary configuration file.
- Raises:
- ValueError
If the analysis does not require a configuration file.
- property settings: AnalysisSettings#
Settings of the analysis.
- property text_output_file: Path | None#
Path to the temporary text output file.
This file is used to store the text output of the analysis and can only be set from the run method.
- Returns:
- Path | None
Path to the temporary text output file.
- Raises:
- ValueError
If the analysis does not require a text output file.