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)¶
- add_note(note, /)¶
Add a note to the exception
- args¶
- 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