From 53f13433c607c64b34b3cb71fe611b504f9798bc Mon Sep 17 00:00:00 2001
From: Thomas Kluyver <thomas@kluyver.me.uk>
Date: Fri, 26 Aug 2022 09:21:26 +0100
Subject: [PATCH] Fix passing cal_work_dir to finalize script

---
 src/xfel_calibrate/calibrate.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/xfel_calibrate/calibrate.py b/src/xfel_calibrate/calibrate.py
index 036abb76e..2f8909c30 100755
--- a/src/xfel_calibrate/calibrate.py
+++ b/src/xfel_calibrate/calibrate.py
@@ -806,7 +806,7 @@ def run(argv=None):
         ))
         errors = False
 
-    fmt_args = {'run_path': cal_work_dir,
+    fmt_args = {'cal_work_dir': cal_work_dir,
                 'out_path': out_path,
                 'version': version,
                 'title': title,
-- 
GitLab