culebra.tools.abc.scripts.BatchResultsAnalyzer class¶
- class BatchResultsAnalyzer(args: list[str] | None = None)¶
Bases:
ScriptConstruct the analyzer.
Define the command-line arguments.
Class attributes¶
- BatchResultsAnalyzer.default_method = None¶
Default analysis method. Subclasses should override this attribute.
Static methods¶
- static BatchResultsAnalyzer.load(filename: str) Base¶
Load a serialized object from a file.
- Parameters:
filename (str) – The file name.
- Returns:
The loaded object
- Raises:
TypeError – If filename is not a valid file name
ValueError – If the filename extension is not
SERIALIZED_FILE_EXTENSION
Methods¶
- BatchResultsAnalyzer.dump(filename: str) None¶
Serialize this object and save it to a file.
- Parameters:
filename (str) – The file name.
- Raises:
TypeError – If filename is not a valid file name
ValueError – If the filename extension is not
SERIALIZED_FILE_EXTENSION
- BatchResultsAnalyzer.parse_args() None¶
Parse and validate command-line arguments.
- Raises:
SystemExit – If the command-line arguments are invalid or
--helpis requested.

