mailr18822 - /trunk/specific_fns/model_free/mf_minimise.py


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

Header


Content

Posted by edward on March 13, 2013 - 18:24:
Author: bugman
Date: Wed Mar 13 18:24:47 2013
New Revision: 18822

URL: http://svn.gna.org/viewcvs/relax?rev=18822&view=rev
Log:
Fix for a strange and extremely rare typo bug in the model-free specific 
analysis code.

This was identified by Manish Chaubey <manish dott chaubey att tuebingen dott 
mpg dott de> in the
message at http://thread.gmane.org/gmane.science.nmr.relax.user/1422.

This only occurs if a relaxation data error of zero is encountered and is a 
bug in the RelaxError
message explaining the problem with the data.


Modified:
    trunk/specific_fns/model_free/mf_minimise.py

Modified: trunk/specific_fns/model_free/mf_minimise.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/specific_fns/model_free/mf_minimise.py?rev=18822&r1=18821&r2=18822&view=diff
==============================================================================
--- trunk/specific_fns/model_free/mf_minimise.py (original)
+++ trunk/specific_fns/model_free/mf_minimise.py Wed Mar 13 18:24:47 2013
@@ -1095,7 +1095,7 @@
 
                 # Checks.
                 if err != None and err == 0.0:
-                    raise RelaxError("Zero error for spin '%s' for the 
relaxation data ID '%s', minimisation not possible." % (errid))
+                    raise RelaxError("Zero error for spin '%s' for the 
relaxation data ID '%s', minimisation not possible." % (data_store.spin_id, 
ri_id))
                 elif err != None and err < 0.0:
                     raise RelaxError("Negative error of %s for spin '%s' for 
the relaxation data ID '%s', minimisation not possible." % (err, 
data_store.spin_id, ri_id))
 




Related Messages


Powered by MHonArc, Updated Thu Mar 14 18:00:01 2013