mailr18432 - /trunk/test_suite/system_tests/pcs.py


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

Header


Content

Posted by edward on February 07, 2013 - 13:53:
Author: bugman
Date: Thu Feb  7 13:53:50 2013
New Revision: 18432

URL: http://svn.gna.org/viewcvs/relax?rev=18432&view=rev
Log:
Fixes for the Pcs.test_structural_noise system test.

As this is based on random functions, sometimes, though rarely, the test 
fails.  Now the simulation
accuracy has been increased and the tests are less rigorous.


Modified:
    trunk/test_suite/system_tests/pcs.py

Modified: trunk/test_suite/system_tests/pcs.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/test_suite/system_tests/pcs.py?rev=18432&r1=18431&r2=18432&view=diff
==============================================================================
--- trunk/test_suite/system_tests/pcs.py (original)
+++ trunk/test_suite/system_tests/pcs.py Thu Feb  7 13:53:50 2013
@@ -263,7 +263,7 @@
 
         # Structural noise (twice to make sure old errors are removed 
properly from the PCS error).
         self.interpreter.pcs.structural_noise(rmsd=200.0, sim_num=100, 
file='devnull', dir=None, force=True)
-        self.interpreter.pcs.structural_noise(rmsd=0.2, sim_num=10000, 
file='devnull', dir=None, force=True)
+        self.interpreter.pcs.structural_noise(rmsd=0.2, sim_num=20000, 
file='devnull', dir=None, force=True)
 
         # The simulated data (from 1,000,000 randomisations of 0.2 Angstrom 
RMSD).
         pcs_struct_err = {
@@ -284,5 +284,5 @@
 
         # Test the PCS data.
         for id in ['Dy N-dom', 'Tb N-dom', 'Tm N-dom', 'Er N-dom']:
-            self.assertAlmostEqual(spin.pcs_struct_err[id], 
pcs_struct_err[id], 3)
-            self.assertAlmostEqual(spin.pcs_err[id], pcs_err[id], 3)
+            self.assertAlmostEqual(spin.pcs_struct_err[id], 
pcs_struct_err[id], 2)
+            self.assertAlmostEqual(spin.pcs_err[id], pcs_err[id], 2)




Related Messages


Powered by MHonArc, Updated Thu Feb 07 14:40:02 2013