-
Notifications
You must be signed in to change notification settings - Fork 467
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... |
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
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 |
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 |
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_molden
on a non-HF wavefunction without marking natural orbitals.dcft
keyword is no longer recognized.dfocc
'smolden_write
is now deprecated. Just call themolden_write
method of the associated wavefunction.Matrix::Full
is removed in favor ofMatrix::SubBlocks
, as the deprecation notice foretold.psi4.molden
, if densities are not provided, ifoccupation_a
andoccupation_b
are not found, these will be pulled fromreference_wavefunction
instead of set to zero.wfn.write_molden
will only check that the orbital energies agree if the molden writing actually calls for orbital energies.Dev notes & details
psi4.molden
is now a wrapper onwfn.write_molden
.dfocc
anddmrg
from using C-Molden writer to the Python wavefunction method.build_rdm_ao
has been re-organizedepsilon_a_
andepsilon_b_
accordingly.libmints
are silenced.Questions
Checklist
Status