mailRe: r21746 - /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 December 03, 2013 - 17:08:
Hi Troels,

You have to be careful about the assertAlmostEqual() with a precision
of zero - this actually turns the test off.  You need to divide both
numbers tested by 10, and set the precision to 1.  Or divide by 100
and set it to 2.

Cheers,

Edward




On 3 December 2013 16:57,  <tlinnet@xxxxxxxxxxxxx> wrote:
Author: tlinnet
Date: Tue Dec  3 16:57:35 2013
New Revision: 21746

URL: http://svn.gna.org/viewcvs/relax?rev=21746&view=rev
Log:
Fix for Optimisation of Dr. Flemming Hansen's CPMG data to the 'NS CPMG 
2-site star' dispersion model.

Fix for bug #21322, (https://gna.org/bugs/?21322) - 5x Test suite fail for 
version 3.1.0
Reported for system CentOS 2.6.32-358.18.1.el6.x86_64.
Adjusted pA, dw, kex, chi2.

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=21746&r1=21745&r2=21746&view=diff
==============================================================================
--- trunk/test_suite/system_tests/relax_disp.py (original)
+++ trunk/test_suite/system_tests/relax_disp.py Tue Dec  3 16:57:35 2013
@@ -1325,10 +1325,10 @@

         # Checks for residue :71.
         self.assertAlmostEqual(spin71.r2[r20_key1], 4.992594256544, 1)
-        self.assertAlmostEqual(spin71.pA, 0.992258541625787, 3)
-        self.assertAlmostEqual(spin71.dw, 2.75140650899058, 1)
-        self.assertAlmostEqual(spin71.kex/1000, 2106.60885247431/1000, 1)
-        self.assertAlmostEqual(spin71.chi2/100, 17.3293856656588/100, 2)
+        self.assertAlmostEqual(spin71.pA, 0.992258541625787, 2)
+        self.assertAlmostEqual(spin71.dw, 2.75140650899058, 0)
+        self.assertAlmostEqual(spin71.kex/1000, 2106.60885247431/1000, 0)
+        self.assertAlmostEqual(spin71.chi2/100, 17.3293856656588/100, 1)

         # Test the conversion to k_AB from kex and pA.
         self.assertEqual(spin70.k_AB, spin70.kex * (1.0 - spin70.pA))


_______________________________________________
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 Wed Dec 04 14:40:08 2013