-
Notifications
You must be signed in to change notification settings - Fork 4
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
Adapting code & tests to use NuQCJob #76
Adapting code & tests to use NuQCJob #76
Conversation
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.
unit tests?
Still a work in progress. |
Note this PR has been tested against biocore/mg-scripts#110 and that PR should be merged before reviewing and merging this PR. |
Co-authored-by: Daniel McDonald <d3mcdonald@eng.ucsd.edu>
biocore/mg-scripts#111 should be reviewed and merged first. GitHub reference should then be reverted back to normal. Then PR should be ready for review. The new test to validate NuQCJob script is an analog to the same test for legacy QCJob and should be sufficient for now. |
Updates based on testing on Qiita-RC. Tests updated to match changes in qp-klp and mg-scripts modules.
Dependency biocore/mg-scripts#112 should be reviewed and merged first before reviewing and merging this PR. |
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.
One question.
qp_klp/tests/test_step.py
Outdated
@@ -271,6 +272,24 @@ class BaseStepTests(TestCase): | |||
"job_pool_size": 30, | |||
"job_max_array_length": 1000 | |||
}, | |||
"nu-qc": { | |||
"nodes": 1, | |||
"nprocs": 16, |
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.
Based on the other open PR, should this be connected/the-same as {{cores_per_task}}? If yes, could you make sure to use the same name, just for clarity?
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.
Good catch! I removed nprocs for NuQC because it's not being used and added cpus_per_task since it is being used. I added a comment briefly covering the difference between the two parameters after reading some literature.
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.
Looks good, only a couple of questions.
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.
One minor thing.
No description provided.