simdb.validation.file.validator_base module

class simdb.validation.file.validator_base.FileValidatorBase[source]

Bases: ABC

Abstract base class for validating a simulation output file.

abstractmethod configure(arguments: dict)[source]

Configure the validator with the given arguments.

Needs to be able to configure the validator from both the options found in the [file_validation] section of the server configuration file, and from the dictionary returned from the options() method.

abstractmethod options() dict[source]

Return a dictionary of options required to configure the validator into the same state.

abstractmethod validate_uri(uri: URI, validate_options)[source]

Validate the given simulation output file.