Skip to content

Commit

Permalink
add quotation marks to --wrap for sbatch
Browse files Browse the repository at this point in the history
  • Loading branch information
JackTemaki committed Mar 4, 2024
1 parent af0edef commit 6f22a8f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 6f22a8f

Please sign in to comment.