def __next__(self):
    '\n        Returns the next frame in Trajectory as a Molecule object.\n\n        '
    if (self.current_frame >= len(self)):
        raise StopIteration
    next_mol = self[self.current_frame]
    self.current_frame += 1
    return next_mol
Returns the next frame in Trajectory as a Molecule object.
def __next__(self):
    '\n        \n\n        '
    if (self.current_frame >= len(self)):
        raise StopIteration
    next_mol = self[self.current_frame]
    self.current_frame += 1
    return next_mol