-
Notifications
You must be signed in to change notification settings - Fork 174
Coupled Cluster Total Energies #1673
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
base: master
Are you sure you want to change the base?
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #1673 +/- ##
==========================================
- Coverage 82.02% 81.72% -0.30%
==========================================
Files 75 75
Lines 15914 15973 +59
==========================================
+ Hits 13053 13054 +1
- Misses 2861 2919 +58 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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.
I also think now is a good time to start adding tests (in general). Let us know if anything in the documentation isn't complete or clear: in this PR or the original issue is fine.
self.append_attribute("dispersionenergies", float(line.split()[3])) | ||
|
||
if "Total Local-CCSD Energy" in line: | ||
self.set_attribute("ccenergies", float(line.split()[3])) |
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.
I believe these should all be append_attribute
instead because of https://cclib.github.io/data_notes.html#ccenergies, but you will need to do some work to only keep the "best" value: for example, overwrite the parsed CCSD value when parsing the CCSD(T) value.
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.
Thank you for all the code reviews! In this case, I have ordered the if clauses in such a way, that a higher priority one will overwrite the previous one. I will need to change a lot of code anyway when I get to implementing geometry optimizations. With the kind of "atomized" PRs, I am leaving that for later. I hope that this is an acceptable approach
No description provided.