Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def __iter__(self):
"""Iterate over HOOMD trajectories."""
return _HOOMDTrajectoryIterable(self, range(len(self)))
def __iter__(self):
return _HOOMDTrajectoryIterable(self._trajectory, self._indices)