Skip to content

Commit 51aa4f5

Browse files
author
Simon R
committed
Include OAR-args
The arguments passed to the oars command weren’t actually passed to it. Now they are, thus one can for example use a longer walltime etc
1 parent 26cc84c commit 51aa4f5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

nipype/pipeline/plugins/oar.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ def __init__(self, **kwargs):
3737
self._max_tries = 2
3838
self._max_jobname_length = 15
3939
if 'plugin_args' in kwargs and kwargs['plugin_args']:
40+
if 'oarsub_args' in kwargs['plugin_args']:
41+
self._oarsub_args = kwargs['plugin_args']['oarsub_args']
4042
if 'retry_timeout' in kwargs['plugin_args']:
4143
self._retry_timeout = kwargs['plugin_args']['retry_timeout']
4244
if 'max_tries' in kwargs['plugin_args']:

0 commit comments

Comments
 (0)