diff --git a/xfel_calibrate/calibrate.py b/xfel_calibrate/calibrate.py index f22e9501dda1abc81d64a36b5c02b8e12a5e5099..a7655aa7b149c06e863c281e3ba11e8e17391ab8 100755 --- a/xfel_calibrate/calibrate.py +++ b/xfel_calibrate/calibrate.py @@ -429,7 +429,7 @@ def concurrent_run(temp_path, nb, nbname, args, cparm=None, cval=None, '"{}"'.format(args["detector"].upper()), '"{}"'.format(args["type"].upper()), "FINAL" if final_job else "NONFINAL", - "{}/finalize.sh".format(os.path.abspath(temp_path)), + ". {}/finalize.sh".format(os.path.abspath(temp_path)), str(cluster_cores)] output = check_output(srun_base).decode('utf8')