-
Notifications
You must be signed in to change notification settings - Fork 533
FIX: PBS plugin fix #2344
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FIX: PBS plugin fix #2344
Conversation
@achetverikov this LGTM - don't forget to add yourself to the |
nipype/pipeline/plugins/pbs.py
Outdated
@@ -47,18 +47,20 @@ def __init__(self, **kwargs): | |||
super(PBSPlugin, self).__init__(template, **kwargs) | |||
|
|||
def _is_pending(self, taskid): | |||
result = CommandLine('qstat {}'.format(taskid), | |||
result = CommandLine('qstat -f {}'.format(taskid), | |||
environ=dict(os.environ), | |||
terminal_output='allatonce', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would suggest changing terminal_output
to 'file_split'
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@oesteban why? & where can I read about file_split, it seems to be not documented yet (http://nipype.readthedocs.io/en/latest/interfaces/generated/interfaces.base/core.html#parameters)?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@achetverikov you can read about terminal outputs here
http://nipype.readthedocs.io/en/latest/devel/interface_specs.html#controlling-outputs-to-terminal
ping @achetverikov - this is very close to merge |
cbbeed7
to
b10062f
Compare
Changed PBS plugin output to file_split as suggested by @oesteban |
@mgxd Good to merge? |
Fixes #2343.
Changes proposed in this pull request