Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
fsl_sub_plugin_sge
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
FSL
fsl_sub_plugin_sge
Commits
56ad2f0a
Commit
56ad2f0a
authored
4 years ago
by
Duncan Mortimer
Browse files
Options
Downloads
Patches
Plain Diff
array_hold could be a list
parent
7c2c8590
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
fsl_sub_plugin_sge/__init__.py
+3
-3
3 additions, 3 deletions
fsl_sub_plugin_sge/__init__.py
with
3 additions
and
3 deletions
fsl_sub_plugin_sge/__init__.py
+
3
−
3
View file @
56ad2f0a
...
...
@@ -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
)):
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment