diff --git a/src/tcutility/results/orca.py b/src/tcutility/results/orca.py index 1e32823a..cac4b324 100644 --- a/src/tcutility/results/orca.py +++ b/src/tcutility/results/orca.py @@ -150,11 +150,11 @@ def get_input(info: Result) -> Result: line = line.replace(':', '') ret.system.molecule.add_atom(plams.Atom(symbol=line.split()[0], coords=[float(x) for x in line.split()[1:4]])) - info.task = "SinglePoint" + ret.task = "SinglePoint" if "optts" in [x.lower() for x in ret.main]: - info.task = "TransitionStateSearch" + ret.task = "TransitionStateSearch" elif "opt" in [x.lower() for x in ret.main]: - info.task = "GeometryOptimization" + ret.task = "GeometryOptimization" return ret @@ -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)