-
Notifications
You must be signed in to change notification settings - Fork 475
Remove Deprecated Code #3282
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
Remove Deprecated Code #3282
Conversation
|
I'll deal with this in the morning... |
loriab
left a comment
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 need to read it through again, but overall lgtm. lmk if you need any advice with the #ifdef USING_CheMPS2 etc. or if CI turns up anything odd.
The ifdef cures the build problems, locally. It remains to be seen if CI turns up anything else odd... I will let you know when I've pushed my local changes. I have one last thing to investigate. |
|
Behavior Change: In |
78659f2 to
1d109d5
Compare
loriab
left a comment
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.
Have to go to a mtg, but I've read most.
| {0, 3, 4, 1, 5, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0}, // d | ||
| {0, 4, 5, 3, 9, 6, 1, 8, 7, 2, 0, 0, 0, 0, 0}, // f | ||
| {0, 3, 4, 9, 12, 10, 5, 13, 14, 7, 1, 6, 11, 8, 2} // g | ||
| }; |
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.
For other reviewers' reassurance, these good notes are also in the new loc at p4util/writer.py
psi4/psi4/driver/p4util/writer.py
Line 351 in 4365043
| Reordering expected by Molden |
loriab
left a comment
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 the great cleanup and consolidation
|
After talking with Lori, we decided not to deprecate |
jturney
left a comment
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.
Looks good! Nice to get rid of some of the deprecated stuff.
Description
This PR removes some deprecated code, especially regarding molden.
User API & Changelog headlines
wfn.write_moldenon a non-HF wavefunction without marking natural orbitals.dcftkeyword is no longer recognized.dfocc'smolden_writeis now deprecated. Just call themolden_writemethod of the associated wavefunction.Matrix::Fullis removed in favor ofMatrix::SubBlocks, as the deprecation notice foretold.psi4.molden, if densities are not provided, ifoccupation_aandoccupation_bare not found, these will be pulled fromreference_wavefunctioninstead of set to zero.wfn.write_moldenwill only check that the orbital energies agree if the molden writing actually calls for orbital energies.Dev notes & details
psi4.moldenis now a wrapper onwfn.write_molden.dfoccanddmrgfrom using C-Molden writer to the Python wavefunction method.build_rdm_aohas been re-organizedepsilon_a_andepsilon_b_accordingly.libmintsare silenced.Questions
Checklist
Status