From afbc94a186651d359dd1ceaaaabaf3999a0c66d8 Mon Sep 17 00:00:00 2001
From: Karim Ahmed <karim.ahmed@xfel.eu>
Date: Fri, 6 Dec 2019 15:53:49 +0100
Subject: [PATCH] must be str not list, error

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

diff --git a/xfel_calibrate/calibrate.py b/xfel_calibrate/calibrate.py
index 02be5c08e..83077aa1f 100755
--- a/xfel_calibrate/calibrate.py
+++ b/xfel_calibrate/calibrate.py
@@ -532,7 +532,7 @@ def get_launcher_command(args, temp_path, dependent, job_list):
         srun_dep = "--dependency=afterok"
         for jobid in job_list:
             srun_dep += ":{}".format(jobid)
-        launcher_slurm += [srun_dep]
+        launcher_slurm += srun_dep
 
     return launcher_slurm.split()
 
-- 
GitLab