From 7c7289a5c54ba08d4da046fa28853a098fc77e9f Mon Sep 17 00:00:00 2001 From: Thomas Kluyver <thomas@kluyver.me.uk> Date: Tue, 21 Sep 2021 10:01:11 +0100 Subject: [PATCH] Append to .out files for pre-emptable finalize job --- src/xfel_calibrate/calibrate.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/xfel_calibrate/calibrate.py b/src/xfel_calibrate/calibrate.py index d0e522bf6..94a2e7132 100755 --- a/src/xfel_calibrate/calibrate.py +++ b/src/xfel_calibrate/calibrate.py @@ -611,6 +611,7 @@ def run_finalize(fmt_args, temp_path, job_list, sequential=False): '--parsable', '--requeue', '--output', f'{temp_path}/slurm-%j.out', + '--open-mode=append', # So we can see if it's preempted & requeued '--job-name', 'xfel-cal-finalize', '--time', finalize_time_limit, '--partition', 'exfel', -- GitLab