Wipe, Re-run, and Re-analyse#
How to wipe output and rerun.
Clean a directory#
presto clean removes everything presto train / train-from-yaml would generate, but keeps the settings YAML:
It walks the expected output layout (see Concepts → Output directory layout) and deletes each known file/directory plus the empty stage directories. Anything not in the expected layout is left alone — useful if you've added your own notes or scripts to the run directory.
Re-run from a YAML#
Any workflow_settings.yaml written by a previous run can be replayed with:
To make small changes before replaying, either edit the YAML directly or use the overwrite argument on WorkflowSettings.from_yaml: