Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bob
gridtk
Commits
15cfb503
Commit
15cfb503
authored
Feb 04, 2015
by
Manuel Günther
Browse files
Removing some parameters when resubmitting to all.q
parent
ea19d463
Changes
1
Hide whitespace changes
Inline
Side-by-side
gridtk/sge.py
View file @
15cfb503
...
...
@@ -147,8 +147,10 @@ class JobManagerSGE(JobManager):
# re-submit job to the grid
arguments
=
job
.
get_arguments
()
arguments
.
update
(
**
kwargs
)
if
(
'queue'
not
in
kwargs
or
kwargs
[
'queue'
]
==
'all.q'
)
and
'hvmem'
in
kwargs
:
del
kwargs
[
'hvmem'
]
if
(
'queue'
not
in
arguments
or
arguments
[
'queue'
]
==
'all.q'
):
for
arg
in
(
'hvmem'
,
'pe_opt'
,
'io_big'
):
if
arg
in
arguments
:
del
arguments
[
arg
]
job
.
set_arguments
(
kwargs
=
arguments
)
# delete old status and result of the job
job
.
submit
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment