Skip to content

Commit 79d30b4

Browse files
authored
Merge pull request #2417 from effigies/fix-slurmgraph-sbatch_default_arg
FIX: Default value for sbatch_args (SLURMGraph)
2 parents c91b893 + 919da89 commit 79d30b4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

nipype/pipeline/plugins/slurmgraph.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ class SLURMGraphPlugin(GraphPluginBase):
4444
_template = "#!/bin/bash"
4545

4646
def __init__(self, **kwargs):
47+
self._sbatch_args = ''
4748
if 'plugin_args' in kwargs and kwargs['plugin_args']:
4849
if 'retry_timeout' in kwargs['plugin_args']:
4950
self._retry_timeout = kwargs['plugin_args']['retry_timeout']

0 commit comments

Comments
 (0)