Skip to content

Commit 5fc0f4c

Browse files
authored
[FIX] Undefined name ScriptError on LFS plugin [skip ci]
1 parent b448b60 commit 5fc0f4c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nipype/pipeline/plugins/lsf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,8 @@ def _submit_batchtask(self, scriptfile, node):
117117
if match:
118118
taskid = int(match.groups()[0])
119119
else:
120-
raise ScriptError("Can't parse submission job output id: %s" %
121-
result.runtime.stdout)
120+
raise IOError("Can't parse submission job output id: %s" %
121+
result.runtime.stdout)
122122
self._pending[taskid] = node.output_dir()
123123
logger.debug('submitted lsf task: %d for node %s' % (taskid, node._id))
124124
return taskid

0 commit comments

Comments
 (0)