mailr22966 - /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 tlinnet on May 05, 2014 - 20:18:
Author: tlinnet
Date: Mon May  5 20:18:21 2014
New Revision: 22966

URL: http://svn.gna.org/viewcvs/relax?rev=22966&view=rev
Log:
Had to lower the precision of systemtest Relax_disp.test_baldwin_synthetic 
after sign change of g1.

The model is still precise, finding the parameters which generated the data.

sr #3154: (https://gna.org/support/?3154) Implementation of Baldwin (2014) 
B14 model - 2-site exact solution model for all time scales.

This follows the tutorial for adding relaxation dispersion models at:
http://wiki.nmr-relax.com/Tutorial_for_adding_relaxation_dispersion_models_to_relax#Debugging

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=22966&r1=22965&r2=22966&view=diff
==============================================================================
--- trunk/test_suite/system_tests/relax_disp.py (original)
+++ trunk/test_suite/system_tests/relax_disp.py Mon May  5 20:18:21 2014
@@ -554,14 +554,14 @@
         # Test the parameters which created the data.
         # This is for the 1H spin.
         if "r2a" in MODEL_PARAMS[MODEL]:
-            self.assertAlmostEqual(cdp.mol[0].res[0].spin[0].r2a[r20_key], 
R2g, 4)
-            self.assertAlmostEqual(cdp.mol[0].res[0].spin[0].r2b[r20_key], 
R2e, 2)
+            self.assertAlmostEqual(cdp.mol[0].res[0].spin[0].r2a[r20_key], 
R2g, 3)
+            self.assertAlmostEqual(cdp.mol[0].res[0].spin[0].r2b[r20_key], 
R2e, 1)
         else:
             self.assertAlmostEqual(cdp.mol[0].res[0].spin[0].r2[r20_key], 
R2g, 4)
 
         self.assertAlmostEqual(cdp.mol[0].res[0].spin[0].dw, dw_ppm, 6)
         self.assertAlmostEqual(cdp.mol[0].res[0].spin[0].pA, 1-pb, 6)
-        self.assertAlmostEqual(cdp.mol[0].res[0].spin[0].kex, kex, 2)
+        self.assertAlmostEqual(cdp.mol[0].res[0].spin[0].kex, kex, 1)
 
         ## Since the Rex is 5 times as small for N15, it have hard times 
finding the values.
         ## So we can try to cluster. But it won't work.




Related Messages


Powered by MHonArc, Updated Mon May 05 20:20:02 2014