mailr12621 - /1.3/generic_fns/pdc.py


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

Header


Content

Posted by edward on February 24, 2011 - 12:50:
Author: bugman
Date: Thu Feb 24 12:50:14 2011
New Revision: 12621

URL: http://svn.gna.org/viewcvs/relax?rev=12621&view=rev
Log:
Fix for the pdc.read() back-end for reading NOE data out of the new PDC files.


Modified:
    1.3/generic_fns/pdc.py

Modified: 1.3/generic_fns/pdc.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/generic_fns/pdc.py?rev=12621&r1=12620&r2=12621&view=diff
==============================================================================
--- 1.3/generic_fns/pdc.py (original)
+++ 1.3/generic_fns/pdc.py Thu Feb 24 12:50:14 2011
@@ -163,8 +163,8 @@
             if ri_label != 'NOE':
                 rx, rx_err = convert_relax_data(row[3:])
             else:
-                rx = float(row[-2])
-                rx_err = float(row[-1])
+                rx = float(row[-3])
+                rx_err = float(row[-2])
 
             # Append the data.
             values.append(rx)




Related Messages


Powered by MHonArc, Updated Thu Feb 24 13:00:02 2011