Skip to content

Commit 4f59168

Browse files
committed
fix QChem for ZimmermanGroup#15 and fix the missing variable in se_gsm
1 parent d659fc3 commit 4f59168

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pygsm/growing_string_methods/se_gsm.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ def go_gsm(self,max_iters=50,opt_steps=10,rtype=2):
164164

165165
filename="opt_converged_{:03d}.xyz".format(self.ID)
166166
print(" Printing string to " + filename)
167-
self.xyz_writer(filename,self.geometries,self.energies,self.gradrms,self.dEs)
167+
self.xyz_writer(filename,self.geometries,self.energies,self.gradrmss,self.dEs)
168168
print("Finished GSM!")
169169

170170

pygsm/level_of_theories/qchem.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -96,11 +96,11 @@ def run(self,geom,multiplicity,ad_idx,runtype='gradient'):
9696
# Run the process
9797
output = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr = subprocess.PIPE).communicate()[0]
9898

99-
self.parse()
99+
self.parse(qcscratch, multiplicity)
100100

101101
return
102102

103-
def parse(self):
103+
def parse(self, qcscratch, multiplicity):
104104
# PARSE OUTPUT #
105105
if self.calc_grad:
106106
efilepath = qcscratch + '/string_{:03d}/{}.{}/GRAD'.format(self.ID,self.node_id,multiplicity)

0 commit comments

Comments
 (0)