Skip to content

Commit 36e5920

Browse files
committed
fix syntax error
1 parent 90f0cc0 commit 36e5920

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nipype/pipeline/plugins/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -567,7 +567,7 @@ def _submit_job(self, node, updatehash=False):
567567
batchscript = '\n'.join((self._template,
568568
'%s %s' % (sys.executable, pyscript)))
569569
batchscriptfile = os.path.join(batch_dir, 'batchscript_%s.sh' % name)
570-
wit open(batchscriptfile, 'wt') as fp:
570+
with open(batchscriptfile, 'wt') as fp:
571571
fp.writelines(batchscript)
572572
return self._submit_batchtask(batchscriptfile, node)
573573

0 commit comments

Comments
 (0)