From 73f648d707fa18e0b4b8a545807e5b9f85da44f5 Mon Sep 17 00:00:00 2001 From: Nick Rossenbach Date: Mon, 4 Mar 2024 12:07:01 +0100 Subject: [PATCH] add quotation marks to --wrap for sbatch (#182) --- sisyphus/simple_linux_utility_for_resource_management_engine.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sisyphus/simple_linux_utility_for_resource_management_engine.py b/sisyphus/simple_linux_utility_for_resource_management_engine.py index 6621606..1c05ef2 100644 --- a/sisyphus/simple_linux_utility_for_resource_management_engine.py +++ b/sisyphus/simple_linux_utility_for_resource_management_engine.py @@ -228,7 +228,7 @@ def submit_helper(self, call, logpath, rqmt, name, task_name, start_id, end_id, sbatch_call += ["-a", "%i-%i:%i" % (start_id, end_id, step_size)] command = '"' + " ".join(call) + '"' - sbatch_call += ["--wrap=%s" % " ".join(call)] + sbatch_call += ["--wrap='%s'" % " ".join(call)] while True: try: out, err, retval = self.system_call(sbatch_call)