Skip to content
Snippets Groups Projects
Commit 56ad2f0a authored by Duncan Mortimer's avatar Duncan Mortimer
Browse files

array_hold could be a list

parent 7c2c8590
No related branches found
No related tags found
No related merge requests found
......@@ -276,7 +276,7 @@ def submit(
Optional:
array_task - is the command is an array task (defaults to False)
jobhold - id(s) of jobs to hold for (string or list)
array_hold - complex hold string
array_hold - complex hold string, integer or list
array_limit - limit concurrently scheduled array
tasks to specified number
array_specifier - n[-m[:s]] n subtasks or starts at n, ends at m with
......@@ -494,10 +494,10 @@ def submit(
# aware tasks
if array_task and array_hold is not None:
if mconf['array_holds']:
jobhold = str(array_hold)
jobhold = array_hold
hold_state = '-hold_jid_ad'
else:
jobhold = str(array_hold)
jobhold = array_hold
if jobhold:
if isinstance(jobhold, (list, tuple)):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment