Author: bugman Date: Fri Mar 6 19:25:21 2009 New Revision: 8926 URL: http://svn.gna.org/viewcvs/relax?rev=8926&view=rev Log: Bug fix for the read() function. The construction of the data for sending to pack_data() was failing. Modified: 1.3/generic_fns/relax_data.py Modified: 1.3/generic_fns/relax_data.py URL: http://svn.gna.org/viewcvs/relax/1.3/generic_fns/relax_data.py?rev=8926&r1=8925&r2=8926&view=diff ============================================================================== --- 1.3/generic_fns/relax_data.py (original) +++ 1.3/generic_fns/relax_data.py Fri Mar 6 19:25:21 2009 @@ -681,23 +681,23 @@ continue # Pack the spin ID info. - if mol_name_col: + if mol_name_col != None: mol_names.append(file_data[i][mol_name_col]) else: mol_names.append(None) - if res_num_col: + if res_num_col != None: res_nums.append(file_data[i][res_num_col]) else: res_nums.append(None) - if res_name_col: + if res_name_col != None: res_names.append(file_data[i][res_name_col]) else: res_names.append(None) - if spin_num_col: + if spin_num_col != None: spin_nums.append(file_data[i][spin_num_col]) else: spin_nums.append(None) - if spin_name_col: + if spin_name_col != None: spin_names.append(file_data[i][spin_name_col]) else: spin_names.append(None)