polaris.Step.add_output_file
- Step.add_output_file(filename, validate_vars=None)[source]
Add the output file that must be produced by this step and may be made available as an input to steps, perhaps in other tasks. This file must exist after the task has run or an exception will be raised.
Optionally, a list of variables can be provided for validation against a baseline (if one is provided), once the step has been run.