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 45f646d commit 80c15f6
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 @@ -390,7 +390,7 @@ def has_variable(self, variable: str) -> bool:
bool
True if variable exists.
"""
if variable not in self._h5_file["/configuration"]:
if variable in self._h5_file["/configuration"]:
return False
else:
return True
Expand Down

0 comments on commit 80c15f6

Please sign in to comment.