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.