-
Notifications
You must be signed in to change notification settings - Fork 135
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
Update ase.py: To avoid errors in writing to the .extxyz format from an Atom object coverted from .npy with dpdata. #717
Conversation
…an Atom object coverted from .npy with dpdata. Stress store in an ASE SinglePointCalculator should be an 1×6 array, not be a 3×3 matrix. Signed-off-by: Levi Zhou <31941107+ZhouXY-PKU@users.noreply.github.com>
WalkthroughWalkthroughThe changes in the Changes
Recent review detailsConfiguration used: CodeRabbit UI Files selected for processing (1)
Files skipped from review as they are similar to previous changes (1)
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
for more information, see https://pre-commit.ci
CodSpeed Performance ReportMerging #717 will not alter performanceComparing Summary
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## devel #717 +/- ##
=======================================
Coverage 84.50% 84.51%
=======================================
Files 81 81
Lines 7152 7153 +1
=======================================
+ Hits 6044 6045 +1
Misses 1108 1108 ☔ View full report in Codecov by Sentry. |
dpdata/plugins/ase.py
Outdated
stress33[1][1], | ||
stress33[2][2], | ||
stress33[1][2], | ||
stress33[2][0], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should be 0,2 though
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But actually the value of (2,0) always equals to (0,2)......changing it is okay.
Signed-off-by: Levi Zhou <31941107+ZhouXY-PKU@users.noreply.github.com>
Stress store in an ASE SinglePointCalculator should be an 1×6 array, not be a 3×3 matrix.
Summary by CodeRabbit