-
Notifications
You must be signed in to change notification settings - Fork 15
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
Review and update test modules #28
Merged
Merged
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
Changes: - Modified the compilation script's lower bound for the radial grid from 1e-5 to 1e-30. - Added separate tests for density and derivatives of density. - Included Boron test case.
… sets. Changes: - Update the test files to account for changes in the copilation script. - Use lower precision to verify equality of arrays using numpy.allclose instead of numpy.testing.assert_almost_equal.
… covalent radius for the HF numeric dataset.
for more information, see https://pre-commit.ci
@gabrielasd I changed some of the |
marco-2023
approved these changes
Mar 5, 2024
3 tasks
msricher
pushed a commit
that referenced
this pull request
May 13, 2024
Review and update test modules
msricher
pushed a commit
that referenced
this pull request
May 13, 2024
Review and update test modules
marco-2023
pushed a commit
that referenced
this pull request
May 13, 2024
Review and update test modules
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.
This PR updates the tests for the evaluation of the gradient of the density in the numeric, slater and gaussian datasets.
For the Slater dataset, the main problem was caused by incorrect .msg and Numpy array data files used in the tests.
In the case of the numeric Hartree-Fock set, there are discrepancies between the values of the derivative of the density computed from the splines and the original raw data in the vicinity of the nuclei. The current tests that pass, do not include these points.
The corresponding tests for the gaussian dataset still fail. One reason may be that the values used to compare against are a poor reference (gradient computed with numpy)