We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0d7b0c9 commit 5653828Copy full SHA for 5653828
nipype/pipeline/plugins/slurm.py
@@ -69,7 +69,7 @@ def _is_pending(self, taskid):
69
resource_monitor=False,
70
terminal_output='allatonce').run()
71
return res.runtime.stdout.find(str(taskid)) > -1
72
- except Exception as e:
+ except RuntimeError as e:
73
if 'Invalid job id' not in str(e):
74
raise(e)
75
return False
0 commit comments