-
Notifications
You must be signed in to change notification settings - Fork 59
add SGE class in pbs.py #323
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
Conversation
for more information, see https://pre-commit.ci
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #323 +/- ##
===========================================
- Coverage 72.80% 55.99% -16.81%
===========================================
Files 37 37
Lines 3603 3659 +56
===========================================
- Hits 2623 2049 -574
- Misses 980 1610 +630 ☔ View full report in Codecov by Sentry. |
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.
Please add a new section to doc/batch.md
to introduce the new Machine type.
dpdispatcher/pbs.py
Outdated
status_line = txt | ||
print("status_line", status_line) | ||
self.status_record_list.append(status_line) | ||
if (status_line is None) and (self.status_record_list != []): |
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.
It seems that self.status_record_list != []
can be removed as self.status_record_list
must not be []
due to line 227.
By the way, what is status_record_list
used for?
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 used status_record_list
for debugging purpose. Will fix it according to your suggestion.
This SGE class inherit from PBS machine class. I have tested with a vanilla python print job and it works. I can continue working on testing with more complex tasks.