Skip to content

Commit

Permalink
include last step of trajectory
Browse files Browse the repository at this point in the history
  • Loading branch information
mcgalcode committed Jan 27, 2023
1 parent 38843a5 commit 3971037
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mpmorph/jobs/lammps_volume.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def make(self, temperature: int,

# Build trajectory from LAMMPS output .xyz file
with open("trajectory.lammpstrj", "r+") as f:
atoms = read_lammps_dump_text(f, index=slice(-1))
atoms = read_lammps_dump_text(f, index=slice(0, None))

structs = []

Expand Down

0 comments on commit 3971037

Please sign in to comment.