Skip to content

Commit

Permalink
The task attribute was being set to info instead of ret
Browse files Browse the repository at this point in the history
  • Loading branch information
YHordijk committed May 24, 2024
1 parent 3aa1559 commit c22d131
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/tcutility/results/orca.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit c22d131

Please sign in to comment.