Skip to content

Commit 4577c94

Browse files
authored
Merge pull request #761 from rkingsbury/main
QChemDrone: fix Frequency parsing for single atoms
2 parents d069185 + 7585c53 commit 4577c94

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

atomate/qchem/drones.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,8 @@ def generate_doc(self, dir_name, qcinput_files, qcoutput_files, multirun):
232232
]
233233
if d["output"]["job_type"] in ["freq", "frequency"]:
234234
d["output"]["frequencies"] = d_calc_final["frequencies"]
235-
d["output"]["frequency_modes"] = d_calc_final["frequency_mode_vectors"]
235+
# Note: for single-atom freq calcs, this key may not exist
236+
d["output"]["frequency_modes"] = d_calc_final.get("frequency_mode_vectors", [])
236237
d["output"]["enthalpy"] = d_calc_final["total_enthalpy"]
237238
d["output"]["entropy"] = d_calc_final["total_entropy"]
238239
if d["input"]["job_type"] in ["opt", "optimization", "ts"]:

0 commit comments

Comments
 (0)