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

Nexus: Add unit tests and example for qdens-radial tool #3676

Merged
merged 15 commits into from
Dec 22, 2021

Conversation

mcbennet
Copy link
Contributor

@mcbennet mcbennet commented Dec 17, 2021

Proposed changes

The following PR adds units tests for qdens-radial and provides an example of how the tool is used inside nexus/examples/qmcpack/rsqmc_misc/diamond_radial_density. This should satisfy #3590

What type(s) of changes does this code introduce?

  • Testing changes (e.g. new unit/integration/performance tests)

Does this introduce a breaking change?

  • No

What systems has this change been tested on?

QMCPACK Workshop 2021 Virtual Box

Checklist

Update the following with a yes where the items apply. If you're unsure about any of them, don't hesitate to ask. This is
simply a reminder of what we are going to look for before merging your code.

  • Yes. This PR is up to date with current the current state of 'develop'
  • N/A. Code added or changed in the PR has been clang-formatted
  • Yes. This PR adds tests to cover any new code, or to catch a bug that is being fixed
  • Yes. Documentation has been added (if appropriate) -- in the form of an example

@mcbennet mcbennet changed the title Nxs test qdens radial Nexus: Add unit tests and example for qdens-radial tool Dec 17, 2021
@mcbennet
Copy link
Contributor Author

Currently, qdens-radial depends on Spglib and the tests here will not pass since Spglib is not installed.
Can Spglib be installed on the machines?

@jtkrogel
Copy link
Contributor

@mcbennet In the style of the other Nexus tests, this one should check for existence of spglib via versions and exclude the test if it isn't there. Does this still need to be added?

@mcbennet
Copy link
Contributor Author

Thank you @jtkrogel . The check for Spglib is now implemented

jtkrogel
jtkrogel previously approved these changes Dec 21, 2021
Copy link
Contributor

@jtkrogel jtkrogel left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@ye-luo ye-luo left a comment

Choose a reason for hiding this comment

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

Please remove p2q.err and scf.err empty files.

@ye-luo
Copy link
Contributor

ye-luo commented Dec 22, 2021

Test this please

@ye-luo ye-luo enabled auto-merge December 22, 2021 19:01
@ye-luo ye-luo merged commit 9b2bef4 into QMCPACK:develop Dec 22, 2021
@mcbennet mcbennet deleted the nxs-test-qdens-radial branch December 23, 2021 03:12
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