Skip to content

Commit

Permalink
fixup! Try both initden and OLDMOS.
Browse files Browse the repository at this point in the history
  • Loading branch information
greghjones committed Feb 23, 2024
1 parent 9e1ea20 commit efe51af
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pysisyphus/calculators/CFOUR.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ def __init__(
self.gradient_fn = "GRD"
self.to_keep = ("out.log", "density:__den.dat", "mos:NEWMOS")
self.initden = None
self.mos = None
self.wavefunction_dump = wavefunction_dump

if self.wavefunction_dump:
Expand Down Expand Up @@ -161,7 +162,7 @@ def prepare(self, inp):
path = super().prepare(inp)
if self.initden:
shutil.copy(self.initden, f"{path}/initden.dat")
if self.oldmos:
if self.mos:
shutil.copy(self.mos, f"{path}/OLDMOS")
return path

Expand Down

0 comments on commit efe51af

Please sign in to comment.