Author: bugman Date: Mon Jan 19 11:37:28 2009 New Revision: 8513 URL: http://svn.gna.org/viewcvs/relax?rev=8513&view=rev Log: Fixed the calls to __residue_loop(). Modified: branches/multi_structure/generic_fns/structure/scientific.py Modified: branches/multi_structure/generic_fns/structure/scientific.py URL: http://svn.gna.org/viewcvs/relax/branches/multi_structure/generic_fns/structure/scientific.py?rev=8513&r1=8512&r2=8513&view=diff ============================================================================== --- branches/multi_structure/generic_fns/structure/scientific.py (original) +++ branches/multi_structure/generic_fns/structure/scientific.py Mon Jan 19 11:37:28 2009 @@ -315,7 +315,7 @@ # Loop over each individual molecule. for mol in model.mol: # Loop over the residues of the protein in the PDB file. - for res, res_num, res_name in self.__residue_loop(mol, mol.mol_type, sel_obj): + for res, res_num, res_name in self.__residue_loop(mol, sel_obj): # Loop over the atoms of the residue. for atom in res: # Atom number, name, and position. @@ -428,7 +428,7 @@ # Loop over each individual molecule. for mol in model.mol: # Loop over the residues of the protein in the PDB file. - for res, res_num, res_name in self.__residue_loop(mol, mol.mol_name, mol.mol_type, sel_obj): + for res, res_num, res_name in self.__residue_loop(mol, sel_obj): # Loop over the atoms of the residue. for atom in res: # Atom number, name, and position.