We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b10062f commit 08ec3cbCopy full SHA for 08ec3cb
nipype/pipeline/plugins/pbs.py
@@ -49,15 +49,15 @@ def __init__(self, **kwargs):
49
def _is_pending(self, taskid):
50
result = CommandLine('qstat -f {}'.format(taskid),
51
environ=dict(os.environ),
52
- terminal_output='allatonce',
+ terminal_output='file_split',
53
resource_monitor=False,
54
ignore_exception=True).run()
55
56
stdout = result.runtime.stdout
57
stderr = result.runtime.stderr
58
- errmsg = 'Unknown Job Id'
+ errmsg = 'Unknown Job Id'
59
success = 'Job has finished'
60
- if (success in stderr) or ('job_state = C' in stdout):
+ if (success in stderr) or ('job_state = C' in stdout):
61
return False
62
else:
63
return errmsg not in stderr
0 commit comments