From 78d808158beb1df06f7bf0ef23e90c6942c44ca3 Mon Sep 17 00:00:00 2001
From: Thomas Kluyver <thomas@kluyver.me.uk>
Date: Wed, 28 Oct 2020 11:29:34 +0000
Subject: [PATCH] Fix dedenting of finalize script

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

diff --git a/xfel_calibrate/calibrate.py b/xfel_calibrate/calibrate.py
index 78738dcc7..b0eb180a1 100755
--- a/xfel_calibrate/calibrate.py
+++ b/xfel_calibrate/calibrate.py
@@ -503,7 +503,8 @@ def create_finalize_script(fmt_args, temp_path, job_list):
     :param temp_path: Path to temporary folder to run slurm job
     :param job_list: List of slurm jobs
     """
-    tmpl = Template("""#!/usr/bin/env python3
+    tmpl = Template("""\
+                    #!/usr/bin/env python3
                     import sys
                     from xfel_calibrate.finalize import finalize
 
-- 
GitLab