Author: bugman Date: Mon Jan 19 11:39:32 2009 New Revision: 8514 URL: http://svn.gna.org/viewcvs/relax?rev=8514&view=rev Log: Fixes for the unpacking of the __residue_loop() results. 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=8514&r1=8513&r2=8514&view=diff ============================================================================== --- branches/multi_structure/generic_fns/structure/scientific.py (original) +++ branches/multi_structure/generic_fns/structure/scientific.py Mon Jan 19 11:39:32 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, sel_obj): + for res, res_num, res_name, res_index 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, sel_obj): + for res, res_num, res_name, res_index in self.__residue_loop(mol, sel_obj): # Loop over the atoms of the residue. for atom in res: # Atom number, name, and position.