-
Notifications
You must be signed in to change notification settings - Fork 29
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
Fix periodic PySCF calculations #74
Conversation
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.
Thanks for sharing. Can you add a test case for the PBC case?
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #74 +/- ##
==========================================
+ Coverage 48.63% 50.36% +1.73%
==========================================
Files 34 24 -10
Lines 3707 2440 -1267
Branches 1518 987 -531
==========================================
- Hits 1803 1229 -574
+ Misses 1207 870 -337
+ Partials 697 341 -356 ☔ View full report in Codecov by Sentry. |
* fix periodic pyscf calculations; ported fix from dftd3/simple-dftd3#74 * add test for pbc --------- Co-authored-by: Alex Izvorski <[email protected]>
Fix for #73
Checks if the
mol.lattice_vectors()
method exists, rather than checking if the mol is an instance ofpyscf.pbc.gto.Cell
specifically