Skip to content

Commit f8ff92a

Browse files
committed
Merge pull request #1319 from srothmei/patch-1
Pass on the oarsub args
2 parents 604d4cd + 0045a46 commit f8ff92a

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)