Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

QChemDrone: fix Frequency parsing for single atoms #761

Merged
merged 7 commits into from
Sep 20, 2022
3 changes: 2 additions & 1 deletion atomate/qchem/drones.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,8 @@ def generate_doc(self, dir_name, qcinput_files, qcoutput_files, multirun):
]
if d["output"]["job_type"] in ["freq", "frequency"]:
d["output"]["frequencies"] = d_calc_final["frequencies"]
d["output"]["frequency_modes"] = d_calc_final["frequency_mode_vectors"]
# Note: for single-atom freq calcs, this key may not exist
d["output"]["frequency_modes"] = d_calc_final.get("frequency_mode_vectors", [])
d["output"]["enthalpy"] = d_calc_final["total_enthalpy"]
d["output"]["entropy"] = d_calc_final["total_entropy"]
if d["input"]["job_type"] in ["opt", "optimization", "ts"]:
Expand Down