def append(self, mol):
    '\n        Append molecule to trajectory.\n        The number of atoms in the molecule must match that of the trajectory.\n\n        Parameters\n        ----------\n        mol : Molecule\n            Molecule object to be added\n\n        Returns\n        -------\n        None\n            Added to Trajectory object.\n\n        '
    if (len(mol.atoms) != self.atoms.shape[1]):
        raise Exception('Trajectory cannot have different number of atoms per frame')
    self.atoms = np.append(self.atoms, [mol.atoms], axis=0)
    self.coordinates = np.append(self.coordinates, [mol.coordinates], axis=0)
Append molecule to trajectory.
The number of atoms in the molecule must match that of the trajectory.

Parameters
----------
mol : Molecule
    Molecule object to be added

Returns
-------
None
    Added to Trajectory object.
def append(self, mol):
    '\n        Append molecule to trajectory.\n        The number of atoms in the molecule must match that of the trajectory.\n\n        Parameters\n        ----------\n        mol : Molecule\n            Molecule object to be added\n\n        Returns\n        -------\n        None\n            Added to Trajectory object.\n\n        '
    if (len(mol.atoms) != self.atoms.shape[1]):
        raise Exception('Trajectory cannot have different number of atoms per frame')
    self.atoms = np.append(self.atoms, [mol.atoms], axis=0)
    self.coordinates = np.append(self.coordinates, [mol.coordinates], axis=0)