Author: bugman Date: Mon Apr 7 16:31:24 2008 New Revision: 5365 URL: http://svn.gna.org/viewcvs/relax?rev=5365&view=rev Log: Bug fix for the atom_loop() API generator method. 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=5365&r1=5364&r2=5365&view=diff ============================================================================== --- 1.3/generic_fns/structure/scientific.py (original) +++ 1.3/generic_fns/structure/scientific.py Mon Apr 7 16:31:24 2008 @@ -84,7 +84,7 @@ mol_name = None # Loop over the residues of the protein in the PDB file. - for res in chains[0].residues: + for res in chain.residues: # Residue number and name. res_num = res.number res_name = res.name