Skip to content

Commit 5168012

Browse files
committed
fixed copypaste bug
1 parent 92635c0 commit 5168012

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nipype/pipeline/plugins/slurmgraph.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def __init__(self, **kwargs):
5656
self._template = open(self._template).read()
5757
if 'sbatch_args' in kwargs['plugin_args']:
5858
self._sbatch_args = kwargs['plugin_args']['sbatch_args']
59-
if 'dont_resubmit_completed_jobs' in plugin_args:
59+
if 'dont_resubmit_completed_jobs' in kwargs['plugin_args']:
6060
self._dont_resubmit_completed_jobs = plugin_args['dont_resubmit_completed_jobs']
6161
else:
6262
self._dont_resubmit_completed_jobs = False

0 commit comments

Comments
 (0)