runtraj.output.Output.keep_workdir#
- Output.keep_workdir(variant, release_id, workdir, realization=None, leave_out=())[source]#
Copy a run’s working directory to
kept_workdir(), replacing an earlier copy.A failed run’s is kept, so CONTROL, SETUP.CFG, and the model’s own output can be read after the job ends. The files named in leave_out, at the top of workdir, are not copied.