fitbenchmarking.parsing.base_parser module
Implements the base Parser as a Context Manager.
- class fitbenchmarking.parsing.base_parser.Parser(filename, options)
Bases:
objectBase abstract class for a parser. Further parsers should inherit from this and override the abstract parse() method.
- abstract parse() FittingProblem | list[FittingProblem]
Parse the file into a FittingProblem.
- Returns:
The parsed problem
- Return type: