Skip to content

Commit

Permalink
remove duplicate lines raising error
Browse files Browse the repository at this point in the history
I think I added these in accidentally, I got the same error and omitting them fixed it
  • Loading branch information
donerancl committed Feb 5, 2024
1 parent 481fcbd commit cac16dd
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions arkane/ess/gaussian.py
Expand Up @@ -375,12 +375,6 @@ def load_energy(self, zpe_scale_factor=1.):
elect_energy_source = 'HF'
except ValueError:
pass
elif 'Energy=' in line:
# for xtb
e_elect = float(line.split()[1]) * constants.E_h * constants.Na
elif 'Energy=' in line:
# for xtb
e_elect = float(line.split()[1]) * constants.E_h * constants.Na
# Read the next line in the file
line = f.readline()

Expand Down

0 comments on commit cac16dd

Please sign in to comment.