Author: bugman Date: Mon Jan 19 14:49:23 2009 New Revision: 8533 URL: http://svn.gna.org/viewcvs/relax?rev=8533&view=rev Log: Another fix for __ave_atom_pos(), related to the last! 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=8533&r1=8532&r2=8533&view=diff ============================================================================== --- branches/multi_structure/generic_fns/structure/scientific.py (original) +++ branches/multi_structure/generic_fns/structure/scientific.py Mon Jan 19 14:49:23 2009 @@ -373,7 +373,7 @@ if mol.mol_type != 'other': res = mol.data.residues[res_index] else: - res = mol[res_index] + res = mol.data[res_index] # The atom. atom = res[atom_index]