Skip to content

Commit 92cf2a2

Browse files
committed
write to writelines
1 parent 4a1799b commit 92cf2a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

atomate/qchem/firetasks/write_inputs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ def run_task(self, fw_spec):
137137
qcin.write(input_file)
138138
if self.get("prev_hess"):
139139
with zopen(os.path.join(os.path.dirname(input_file), "HESS"), "wt") as f:
140-
f.write(self.get("prev_hess"))
140+
f.writelines(self.get("prev_hess"))
141141

142142

143143
@explicit_serialize

0 commit comments

Comments
 (0)