Skip to content
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

Merged
merged 18 commits into from
Dec 12, 2023

Conversation

charles-cowart
Copy link
Contributor

No description provided.

Copy link
Contributor

@wasade wasade left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

unit tests?

qp_klp/Step.py Outdated Show resolved Hide resolved
qp_klp/Step.py Outdated Show resolved Hide resolved
qp_klp/Step.py Outdated Show resolved Hide resolved
qp_klp/Step.py Outdated Show resolved Hide resolved
@charles-cowart
Copy link
Contributor Author

Still a work in progress.

@charles-cowart
Copy link
Contributor Author

Note this PR has been tested against biocore/mg-scripts#110 and that PR should be merged before reviewing and merging this PR.

@charles-cowart charles-cowart changed the title WIP Adapting code & tests to use NuQCJob Adapting code & tests to use NuQCJob Nov 14, 2023
charles-cowart and others added 4 commits November 14, 2023 14:54
temporarily switch mg-scripts branches to utilize a fix.
@charles-cowart
Copy link
Contributor Author

charles-cowart commented Nov 15, 2023

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.
@charles-cowart
Copy link
Contributor Author

Dependency biocore/mg-scripts#112 should be reviewed and merged first before reviewing and merging this PR.

Copy link
Member

@antgonza antgonza left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One question.

@@ -271,6 +272,24 @@ class BaseStepTests(TestCase):
"job_pool_size": 30,
"job_max_array_length": 1000
},
"nu-qc": {
"nodes": 1,
"nprocs": 16,
Copy link
Member

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?

Copy link
Contributor Author

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.

Copy link
Member

@antgonza antgonza left a 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.

qp_klp/Step.py Outdated Show resolved Hide resolved
qp_klp/Step.py Outdated Show resolved Hide resolved
qp_klp/Step.py Outdated Show resolved Hide resolved
Copy link
Member

@antgonza antgonza left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One minor thing.

@charles-cowart charles-cowart merged commit 26deecf into qiita-spots:main Dec 12, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants