Commit 15cfb503 authored by Manuel Günther's avatar Manuel Günther
Browse files

Removing some parameters when resubmitting to all.q

parent ea19d463
......@@ -147,8 +147,10 @@ class JobManagerSGE(JobManager):
# re-submit job to the grid
arguments = job.get_arguments()
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]
# delete old status and result of the job
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment