Skip to content

Commit

Permalink
merge fix
Browse files Browse the repository at this point in the history
  • Loading branch information
t-young31 committed Oct 9, 2023
1 parent 5e7b41d commit 6756d20
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions autode/input_output.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,6 @@ def xyz_file_to_atoms(filename: str) -> Atoms:
elif i == n_atoms + 2:
break

if i == 0: # First line in an xyz file is the number of atoms
n_atoms = _n_atoms_from_first_xyz_line(line)
continue
elif i == 1: # Second line of an xyz file is the tittle line
continue
elif i == n_atoms + 2:
break

try:
atom_label, x, y, z = line.split()[:4]
atoms.append(Atom(atomic_symbol=atom_label, x=x, y=y, z=z))
Expand Down

0 comments on commit 6756d20

Please sign in to comment.