[Fix] Include #TOTAL ENERGY# check in get_energy function of abacus/[md,relax].py#950
[Fix] Include #TOTAL ENERGY# check in get_energy function of abacus/[md,relax].py#950ZhouXY-PKU wants to merge 2 commits intodeepmodeling:masterfrom
#TOTAL ENERGY# check in get_energy function of abacus/[md,relax].py#950Conversation
Signed-off-by: Levi Zhou <31941107+ZhouXY-PKU@users.noreply.github.com>
Merging this PR will not alter performance
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #950 +/- ##
=======================================
Coverage 86.37% 86.37%
=======================================
Files 86 86
Lines 8086 8086
=======================================
Hits 6984 6984
Misses 1102 1102 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
📝 WalkthroughWalkthroughExtended energy parsing in ABACUS parsers to also recognize lines containing "#TOTAL ENERGY#" alongside "final etot is" in MD and relax log processing; recording and indexing behavior for energies remain unchanged. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~5 minutes Possibly related PRs
Suggested reviewers
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
📝 Coding Plan
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment Tip Migrating from UI to YAML configuration.Use the |
#TOTAL ENERGY# check in get_energy function
#TOTAL ENERGY# check in get_energy function#TOTAL ENERGY# check in get_energy function of abacus/md.py
Signed-off-by: Levi Zhou <31941107+ZhouXY-PKU@users.noreply.github.com>
#TOTAL ENERGY# check in get_energy function of abacus/md.py#TOTAL ENERGY# check in get_energy function of abacus/[md,relax].py
Fix #949.
Summary by CodeRabbit