mailRe: r25420 - /trunk/test_suite/system_tests/relax_disp.py


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

Header


Content

Posted by Edward d'Auvergne on August 29, 2014 - 17:08:
Hi Troels,

Once you are at one decimal place, the self.assertAlmostEqual() method
is no longer useful.  To get around this, divide all numbers by 10000
and increase the precision to 6.  The self.assertAlmostEqual() method
is not very mathematically oriented!

Regards,

Edward



On 29 August 2014 11:05,  <tlinnet@xxxxxxxxxxxxx> wrote:
Author: tlinnet
Date: Fri Aug 29 11:05:54 2014
New Revision: 25420

URL: http://svn.gna.org/viewcvs/relax?rev=25420&view=rev
Log:
Parameter precision lowered for Relax_disp.test_estimate_r2eff_err_auto().

This is due to change to C-code.

task #7822(https://gna.org/task/index.php?7822): Implement user function to 
estimate R2eff and associated errors for exponential curve fitting.

Modified:
    trunk/test_suite/system_tests/relax_disp.py

Modified: trunk/test_suite/system_tests/relax_disp.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/test_suite/system_tests/relax_disp.py?rev=25420&r1=25419&r2=25420&view=diff
==============================================================================
--- trunk/test_suite/system_tests/relax_disp.py (original)
+++ trunk/test_suite/system_tests/relax_disp.py Fri Aug 29 11:05:54 2014
@@ -8203,7 +8203,7 @@
                                     elif r2eff_estimate == 'MC2000':
                                         self.assertAlmostEqual(value, 
5610.20221435, 2)
                                     elif r2eff_estimate == 'chi2':
-                                        self.assertAlmostEqual(value, 
5643.34067090, 2)
+                                        self.assertAlmostEqual(value, 
5643.34067090, 1)

                             elif param == 'chi2':
                                 if model == MODEL_NOREX:


_______________________________________________
relax (http://www.nmr-relax.com)

This is the relax-commits mailing list
relax-commits@xxxxxxx

To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-commits



Related Messages


Powered by MHonArc, Updated Fri Aug 29 21:40:15 2014