mailr14762 - /1.3/generic_fns/spectrum.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on September 27, 2011 - 08:40:
Author: bugman
Date: Tue Sep 27 08:40:31 2011
New Revision: 14762

URL: http://svn.gna.org/viewcvs/relax?rev=14762&view=rev
Log:
Fix for a bug introduced in the previous revision (r14761) in the 
intensity_generic() fn.

This generic peak list reading function needed to return 5 element lists 
rather than the original
4.


Modified:
    1.3/generic_fns/spectrum.py

Modified: 1.3/generic_fns/spectrum.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/generic_fns/spectrum.py?rev=14762&r1=14761&r2=14762&view=diff
==============================================================================
--- 1.3/generic_fns/spectrum.py (original)
+++ 1.3/generic_fns/spectrum.py Tue Sep 27 08:40:31 2011
@@ -694,7 +694,7 @@
     # Loop over the data.
     data = []
     for id, value in read_spin_data(file_data=file_data, 
spin_id_col=spin_id_col, mol_name_col=mol_name_col, res_num_col=res_num_col, 
res_name_col=res_name_col, spin_num_col=spin_num_col, 
spin_name_col=spin_name_col, data_col=data_col, sep=sep, spin_id=spin_id):
-        data.append([None, None, id, value])
+        data.append([None, None, id, value, id])
 
     # Return the data.
     return data




Related Messages


Powered by MHonArc, Updated Tue Sep 27 12:20:02 2011