diff --git a/MDANSE/Src/MDANSE/MolecularDynamics/Trajectory.py b/MDANSE/Src/MDANSE/MolecularDynamics/Trajectory.py index 087d7fd9db..2e81a9d236 100644 --- a/MDANSE/Src/MDANSE/MolecularDynamics/Trajectory.py +++ b/MDANSE/Src/MDANSE/MolecularDynamics/Trajectory.py @@ -391,9 +391,9 @@ def has_variable(self, variable: str) -> bool: True if variable exists. """ if variable in self._h5_file["/configuration"]: - return False - else: return True + else: + return False @property def chemical_system(self):