mailr12773 - /branches/relax_data/generic_fns/relax_data.py


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

Header


Content

Posted by edward on March 03, 2011 - 12:33:
Author: bugman
Date: Thu Mar  3 12:33:50 2011
New Revision: 12773

URL: http://svn.gna.org/viewcvs/relax?rev=12773&view=rev
Log:
Fix for the relaxation data bmrb_write() function.

The wrong relaxation data was being sent into the BMRB file.


Modified:
    branches/relax_data/generic_fns/relax_data.py

Modified: branches/relax_data/generic_fns/relax_data.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/relax_data/generic_fns/relax_data.py?rev=12773&r1=12772&r2=12773&view=diff
==============================================================================
--- branches/relax_data/generic_fns/relax_data.py (original)
+++ branches/relax_data/generic_fns/relax_data.py Thu Mar  3 12:33:50 2011
@@ -294,8 +294,9 @@
         raise RelaxError("The peak intensity types measured for the 
relaxation data have not been specified.")
 
     # Loop over the relaxation data.
-    for ri_id in cdp.ri_ids:
+    for i in xrange(len(cdp.ri_ids)):
         # Alias.
+        ri_id = cdp.ri_ids[i]
         ri_type = cdp.ri_type[ri_id]
 
         # Convert to MHz.




Related Messages


Powered by MHonArc, Updated Thu Mar 03 13:00:02 2011