Skip to content

Commit fc85fef

Browse files
authored
Merge pull request #2803 from nipy/oesteban-patch-1
[FIX] Change undefined ScriptError on LFS plugin to IOError
2 parents 2b752bb + 5fc0f4c commit fc85fef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nipype/pipeline/plugins/lsf.py

+2-2
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)