-
Notifications
You must be signed in to change notification settings - Fork 189
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
Python maintenance #4489
Merged
Merged
Python maintenance #4489
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Replace raw pointers by references, make the regular and tabulated dihedral bond kernels more similar, document singularity issue.
Fix broken analytical formula for the dihedral potential and forces in the test case. Check regular and tabulated dihedral bond kernels for multiple choices of multiplicity and phase.
jngrad
force-pushed
the
python_interface
branch
4 times, most recently
from
April 5, 2022 00:30
fbfd372
to
a3ffa9b
Compare
Use temporary directories in tests that need to output data to disk to automate file cleanup. Use the pathlib module instead of the os module for operations on filepaths to improve portability.
Replace try/except import guards by contextlib.suppress(ImportError). Remove unreachable code. Improve code coverage of utility functions. Fix a minor bug when a variable assignment takes multiple lines. Run the MMM1D tuning function once per test method to reduce overhead.
Improve CPU/GPU load balancing by restricting CI jobs that don't need a GPU on CI runners that don't provide a GPU. Use 4 cores instead of 2 cores when the runner allows it. Execute slow jobs on NUMA runners.
reinaual
reviewed
Apr 6, 2022
reinaual
approved these changes
Apr 6, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #4488, fixes #4490, fixes #4491, fixes #4477
Description of changes:
contextlib
in the testsuite to better handleImportError
from missing dependenciespathlib
in the testsuite and scripts for portability on non-Posix environmentsOscillatoryShear