mailr17482 - /trunk/specific_fns/relax_fit.py


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

Header


Content

Posted by edward on September 17, 2012 - 13:35:
Author: bugman
Date: Mon Sep 17 13:35:40 2012
New Revision: 17482

URL: http://svn.gna.org/viewcvs/relax?rev=17482&view=rev
Log:
Changed the RelaxError for missing relaxation times in the relaxation 
curve-fitting analyses.


Modified:
    trunk/specific_fns/relax_fit.py

Modified: trunk/specific_fns/relax_fit.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/specific_fns/relax_fit.py?rev=17482&r1=17481&r2=17482&view=diff
==============================================================================
--- trunk/specific_fns/relax_fit.py (original)
+++ trunk/specific_fns/relax_fit.py Mon Sep 17 13:35:40 2012
@@ -833,7 +833,7 @@
 
             # Check that the number of relaxation times is complete.
             if len(spin.intensities) != len(cdp.relax_times):
-                raise RelaxError("The %s peak intensity points of the spin 
'%s' does not match the expected number of %s (the IDs %s do not match %s)." 
% (len(spin.intensities), spin_id, len(cdp.relax_times), 
spin.intensities.keys(), cdp.spectrum_ids))
+                raise RelaxError("The %s peak intensity points of the spin 
'%s' does not match the expected number of %s (the IDs %s do not match %s)." 
% (len(spin.intensities), spin_id, len(cdp.relax_times), 
spin.intensities.keys(), cdp.relax_times.keys()))
 
 
     def return_data(self, spin):




Related Messages


Powered by MHonArc, Updated Mon Sep 17 14:00:01 2012