Author: bugman Date: Sun Apr 20 12:52:51 2008 New Revision: 5835 URL: http://svn.gna.org/viewcvs/relax?rev=5835&view=rev Log: Fixed the call to generate_spin_id() in the return_spin_from_index() function. Modified: 1.3/generic_fns/selection.py Modified: 1.3/generic_fns/selection.py URL: http://svn.gna.org/viewcvs/relax/1.3/generic_fns/selection.py?rev=5835&r1=5834&r2=5835&view=diff ============================================================================== --- 1.3/generic_fns/selection.py (original) +++ 1.3/generic_fns/selection.py Sun Apr 20 12:52:51 2008 @@ -895,7 +895,7 @@ # Return the spin and the spin_id string. if return_spin_id: # The spin identification string. - spin_id = generate_spin_id([mol_name, res_num, res_name, spin.num, spin.name], mol_name_col=0, res_num_col=1, res_name_col=2, spin_num_col=3, spin_name_col=4) + spin_id = generate_spin_id(mol_name, res_num, res_name, spin.num, spin.name) # Return both objects. return spin, spin_id