Skip to content

Commit

Permalink
add link to PySCF issue in comment
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinsung committed Jan 2, 2025
1 parent 79781d4 commit 2347b3c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/ffsim/molecular_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ def scf(self) -> pyscf.scf.hf.SCF:
fp = tempfile.NamedTemporaryFile()
self.to_fcidump(fp.name)
# HACK without the following line, PySCF computations fail with a KeyError
# See https://github.com/pyscf/pyscf/issues/2586
_remove_sym_from_fcidump(fp.name)
return pyscf.tools.fcidump.to_scf(fp.name)

Expand Down

0 comments on commit 2347b3c

Please sign in to comment.