From 3aa155913615e7878ccc17234e4c3c14cef90595 Mon Sep 17 00:00:00 2001 From: Yuman Hordijk Date: Fri, 24 May 2024 11:20:10 +0200 Subject: [PATCH] Now checking if freq or numfreq is in main before reading the vibrational data --- src/tcutility/results/orca.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tcutility/results/orca.py b/src/tcutility/results/orca.py index 1e32823a..b8a06f33 100644 --- a/src/tcutility/results/orca.py +++ b/src/tcutility/results/orca.py @@ -221,7 +221,7 @@ def get_calc_settings(info: Result) -> Result: # determine if the wavefunction are unrestricted or not ret.unrestricted = any(tag in main for tag in ["uhf", "uno"]) ret.used_qros = info.input.sections.mdci.UseQROs and info.input.sections.mdci.UseQROs.lower() == "true" - ret.frequencies = "freq" in main + ret.frequencies = "freq" in main or 'numfreq' in main ret.charge = int(info.input.system.charge) ret.spin_polarization = int(info.input.system.multiplicity) - 1 ret.multiplicity = int(info.input.system.multiplicity)