From b2d76a6b47bb17a050705df4b828bdb57ee243c4 Mon Sep 17 00:00:00 2001 From: Thomas Kluyver <thomas@kluyver.me.uk> Date: Fri, 20 Aug 2021 14:43:01 +0100 Subject: [PATCH] Copy calibration_metadata.yml when --prepare-only is used --- src/xfel_calibrate/calibrate.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/xfel_calibrate/calibrate.py b/src/xfel_calibrate/calibrate.py index 735730fe5..2a9b30e1b 100755 --- a/src/xfel_calibrate/calibrate.py +++ b/src/xfel_calibrate/calibrate.py @@ -1170,6 +1170,10 @@ def run(): job_group.save() if args['prepare_only']: + # FIXME: Clean up where this file goes when. + # When the jobs run, it is copied by finalize.py + metadata.save_copy(run_tmp_path) + print("Files prepared, not executing now (--prepare-only option).") print("To execute the notebooks, run:") rpt_opts = '' -- GitLab