mailr12179 - /1.3/test_suite/system_tests/relax_fit.py


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

Header


Content

Posted by edward on January 10, 2011 - 15:40:
Author: bugman
Date: Mon Jan 10 15:40:34 2011
New Revision: 12179

URL: http://svn.gna.org/viewcvs/relax?rev=12179&view=rev
Log:
Added a check for the peak intensity errors.

This is part of the bug fix for bug r17457 
(https://gna.org/bugs/index.php?17457) reported by Maddy
Strickland <M.Strickland att bristol dott ac dot uk>.


Modified:
    1.3/test_suite/system_tests/relax_fit.py

Modified: 1.3/test_suite/system_tests/relax_fit.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/test_suite/system_tests/relax_fit.py?rev=12179&r1=12178&r2=12179&view=diff
==============================================================================
--- 1.3/test_suite/system_tests/relax_fit.py (original)
+++ 1.3/test_suite/system_tests/relax_fit.py Mon Jan 10 15:40:34 2011
@@ -77,6 +77,11 @@
         for i in range(10):
             self.assertEqual(cdp_relax_times[i], relax_times[i])
 
+        # Check the errors.
+        for key in cdp.sigma_I:
+            self.assertEqual(cdp.sigma_I[key], 10142.707367087694)
+            self.assertEqual(cdp.var_I[key], 102874512.734375)
+
         # Spin data check.
         i = 0
         for spin in spin_loop():




Related Messages


Powered by MHonArc, Updated Mon Jan 10 16:40:02 2011