Skip to content

Commit

Permalink
Rename the reference topology file for trajectory loading.
Browse files Browse the repository at this point in the history
  • Loading branch information
lohedges committed Jul 17, 2024
1 parent 0a7c838 commit 6b7095b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/runner/test_restart.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def test_restart(mols, request):

# Load the trajectory.
traj_1 = sr.load(
[str(Path(tmpdir) / "system.prm7"), str(Path(tmpdir) / "traj_0.00000.dcd")]
[str(Path(tmpdir) / "system0.prm7"), str(Path(tmpdir) / "traj_0.00000.dcd")]
)

# Check that both config and lambda have been written
Expand Down Expand Up @@ -89,7 +89,7 @@ def test_restart(mols, request):

# Reload the trajectory.
traj_2 = sr.load(
[str(Path(tmpdir) / "system.prm7"), str(Path(tmpdir) / "traj_0.00000.dcd")]
[str(Path(tmpdir) / "system0.prm7"), str(Path(tmpdir) / "traj_0.00000.dcd")]
)

# Check that the trajectory is twice as long as the first.
Expand Down

0 comments on commit 6b7095b

Please sign in to comment.