Skip to content

Commit

Permalink
If the job does not construct a new output molecule, simply set it as…
Browse files Browse the repository at this point in the history
… a copy of the input molecule
  • Loading branch information
YHordijk committed Dec 12, 2023
1 parent 0ca5b71 commit d78a0f0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions TCutility/results/orca.py
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,8 @@ def get_molecules(info: Result) -> Result:
sym, x, y, z = coord.split()
ret.output.add_atom(plams.Atom(symbol=sym, coords=[float(x), float(y), float(z)]))

if len(ret.output.atoms) == 0:
ret.output = ret.input.copy()
return ret


Expand Down

0 comments on commit d78a0f0

Please sign in to comment.