Skip to content

Update interface for gradient for PySCF 2.4#52

Merged
awvwgk merged 2 commits intodftd3:mainfrom
sunqm:patch-1
Jan 3, 2024
Merged

Update interface for gradient for PySCF 2.4#52
awvwgk merged 2 commits intodftd3:mainfrom
sunqm:patch-1

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?

@codecov
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
@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