spectre.tools.CleanOutput¶
Functions
|
Deletes output files specified in the input_file from the output_dir, raising an error if the expected output files were not found. |
Exceptions
|
- exception spectre.tools.CleanOutput.MissingExpectedOutputError(missing_files)¶
- args¶
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- spectre.tools.CleanOutput.clean_output(input_file, output_dir, force)¶
Deletes output files specified in the input_file from the output_dir, raising an error if the expected output files were not found.
The input_file must list its expected output files in the metadata. They may contain glob patterns:
Reduction.h5
Volume*.h5