Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ChiCheng45 committed Apr 2, 2024
1 parent 76a2b32 commit 45f646d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MDANSE/Src/MDANSE/MolecularDynamics/Trajectory.py
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ def read_configuration_trajectory(
if last is None:
last = len(self)

if self.has_variable(variable):
if not self.has_variable(variable):
raise TrajectoryError(
"The variable {} is not stored in the trajectory".format(variable)
)
Expand Down

0 comments on commit 45f646d

Please sign in to comment.