Author: bugman Date: Tue Oct 6 18:06:03 2009 New Revision: 9593 URL: http://svn.gna.org/viewcvs/relax?rev=9593&view=rev Log: Some more fixes for spin_id_to_data_list(). Modified: 1.3/generic_fns/mol_res_spin.py Modified: 1.3/generic_fns/mol_res_spin.py URL: http://svn.gna.org/viewcvs/relax/1.3/generic_fns/mol_res_spin.py?rev=9593&r1=9592&r2=9593&view=diff ============================================================================== --- 1.3/generic_fns/mol_res_spin.py (original) +++ 1.3/generic_fns/mol_res_spin.py Tue Oct 6 18:06:03 2009 @@ -2132,8 +2132,6 @@ raise RelaxError("The single spin ID should only belong to one residue number, not %s." % res_info) elif len(res_nums) == 1: res_num = res_nums[0] - else: - res_num = res_nums # Residue name. res_name = None @@ -2141,8 +2139,6 @@ raise RelaxError("The single spin ID should only belong to one residue name, not %s." % res_info) elif len(res_names) == 1: res_name = res_names[0] - else: - res_name = res_names # Spin info. spin_names = [] @@ -2159,8 +2155,6 @@ raise RelaxError("The single spin ID should only belong to one spin number, not %s." % spin_info) elif len(spin_nums) == 1: spin_num = spin_nums[0] - else: - spin_num = spin_nums # Spin name. spin_name = None @@ -2168,8 +2162,6 @@ raise RelaxError("The single spin ID should only belong to one spin name, not %s." % spin_info) elif len(spin_names) == 1: spin_name = spin_names[0] - else: - spin_name = spin_names # Return the data. return mol_name, res_num, res_name, spin_num, spin_name