Skip to content

Commit

Permalink
Remove the spurious extra frame in LAMMPS custom format
Browse files Browse the repository at this point in the history
  • Loading branch information
MBartkowiakSTFC committed Apr 30, 2024
1 parent 425b6f8 commit aaa0f6b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion MDANSE/Src/MDANSE/Framework/Converters/LAMMPS.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,6 @@ def get_time_steps(self, filename: str) -> int:
number_of_steps = 0
self.open_file(filename)
if number_of_steps == 0:
number_of_steps = 1
for line in self._file:
if line.startswith("ITEM: TIMESTEP"):
number_of_steps += 1
Expand Down

0 comments on commit aaa0f6b

Please sign in to comment.