Author: bugman Date: Mon Jul 7 14:29:07 2008 New Revision: 6792 URL: http://svn.gna.org/viewcvs/relax?rev=6792&view=rev Log: Fixed the call to the __molecule_loop() method from bond_vectors(). Modified: 1.3/generic_fns/structure/scientific.py Modified: 1.3/generic_fns/structure/scientific.py URL: http://svn.gna.org/viewcvs/relax/1.3/generic_fns/structure/scientific.py?rev=6792&r1=6791&r2=6792&view=diff ============================================================================== --- 1.3/generic_fns/structure/scientific.py (original) +++ 1.3/generic_fns/structure/scientific.py Mon Jul 7 14:29:07 2008 @@ -386,7 +386,7 @@ atom_found = False # Loop over each individual molecule. - for mol, mol_name, mol_type in self.__molecule_loop(struct, sel_obj): + for mol, mol_name, mol_type in self.__molecule_loop(self.structural_data[i], sel_obj): # Loop over the residues of the protein in the PDB file. for res, res_num, res_name in self.__residue_loop(mol, mol_type, sel_obj): # Loop over the atoms of the residue.