Skip to content

Commit 08ec3cb

Browse files
committed
Changed PBS plugin output to file_split
1 parent b10062f commit 08ec3cb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

nipype/pipeline/plugins/pbs.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,15 +49,15 @@ def __init__(self, **kwargs):
4949
def _is_pending(self, taskid):
5050
result = CommandLine('qstat -f {}'.format(taskid),
5151
environ=dict(os.environ),
52-
terminal_output='allatonce',
52+
terminal_output='file_split',
5353
resource_monitor=False,
5454
ignore_exception=True).run()
5555

5656
stdout = result.runtime.stdout
5757
stderr = result.runtime.stderr
58-
errmsg = 'Unknown Job Id'
58+
errmsg = 'Unknown Job Id'
5959
success = 'Job has finished'
60-
if (success in stderr) or ('job_state = C' in stdout):
60+
if (success in stderr) or ('job_state = C' in stdout):
6161
return False
6262
else:
6363
return errmsg not in stderr

0 commit comments

Comments
 (0)