Author: bugman Date: Wed Jun 20 14:05:04 2012 New Revision: 17003 URL: http://svn.gna.org/viewcvs/relax?rev=17003&view=rev Log: Fix for the return_spin_from_selection() function for a bug introduced in the last commit. Modified: branches/interatomic/generic_fns/mol_res_spin.py Modified: branches/interatomic/generic_fns/mol_res_spin.py URL: http://svn.gna.org/viewcvs/relax/branches/interatomic/generic_fns/mol_res_spin.py?rev=17003&r1=17002&r2=17003&view=diff ============================================================================== --- branches/interatomic/generic_fns/mol_res_spin.py (original) +++ branches/interatomic/generic_fns/mol_res_spin.py Wed Jun 20 14:05:04 2012 @@ -2459,7 +2459,7 @@ # Store all data. mol_names.append(mol.name) - res_nums.append(res.nums) + res_nums.append(res.num) res_names.append(res.name) spins.append(spin)