Nexus: Fix Structure.recenter_k() and Structure.recenter()#5664
Merged
prckent merged 12 commits intoQMCPACK:developfrom Jan 26, 2026
Merged
Nexus: Fix Structure.recenter_k() and Structure.recenter()#5664prckent merged 12 commits intoQMCPACK:developfrom
Structure.recenter_k() and Structure.recenter()#5664prckent merged 12 commits intoQMCPACK:developfrom
Conversation
jtkrogel
reviewed
Nov 12, 2025
jtkrogel
reviewed
Nov 12, 2025
Contributor
|
Happy to see this discussion going on here. Once you have them working as expected, please can you add a description of what at least recorner and recenter_k actually do. Of the 3 functions under discussion, only what recenter does is "obvious". |
…rner` This also fixes the tests to use the correct geometries.
jtkrogel
requested changes
Nov 17, 2025
Structure.recenter_k() and Structure.recenter()Structure.recenter_k() and Structure.recenter()
Contributor
|
What is the status of this PR? I would like to get the macos numpy version unpinned. |
Contributor
Author
jtkrogel
requested changes
Jan 20, 2026
Contributor
jtkrogel
left a comment
There was a problem hiding this comment.
One small change. Looks good otherwise.
Contributor
|
Test this please |
Structure.recenter_k() and Structure.recenter()Structure.recenter_k() and Structure.recenter()
This file contains hidden or 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
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.
Proposed changes
Alternate form of #5345 after discussion with @jtkrogel.
What type(s) of changes does this code introduce?
Does this introduce a breaking change?
What systems has this change been tested on?
Ubuntu 22.04 Python 3.13.8 NumPy 2.3.4
Checklist
Update the following with an [x] 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.