Skip to content
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 interface for gradient for PySCF 2.4 #52

Merged
merged 2 commits into from
Jan 3, 2024
Merged

Conversation

sunqm
Copy link
Contributor

@sunqm sunqm commented Jan 1, 2024

Update grad interface due to api changes in pyscf-2.4. See also issue pyscf/pyscf#1986

Update grad interface due to api changes in pyscf-2.4
Copy link
Member

@awvwgk awvwgk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this change also work with older versions of PySCF or should we constrain dftd3 with this change to the latest PySCF version?

Copy link

codecov bot commented Jan 1, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (57b2300) 48.63% compared to head (2b8ebc7) 48.63%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #52   +/-   ##
=======================================
  Coverage   48.63%   48.63%           
=======================================
  Files          34       34           
  Lines        3707     3707           
  Branches     1518     1518           
=======================================
  Hits         1803     1803           
  Misses       1207     1207           
  Partials      697      697           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@awvwgk awvwgk changed the title Update pyscf.py Update interface for gradient for PySCF 2.4 Jan 3, 2024
@awvwgk awvwgk merged commit 83d61fb into dftd3:main Jan 3, 2024
18 checks passed
@sunqm
Copy link
Contributor Author

sunqm commented Jan 3, 2024

Does this change also work with older versions of PySCF or should we constrain dftd3 with this change to the latest PySCF version?

No, this change is only compatible with PySCF 2.4

@sunqm sunqm deleted the patch-1 branch January 3, 2024 18:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants