mailr19702 - /trunk/test_suite/system_tests/jw_mapping.py


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

Header


Content

Posted by edward on May 23, 2013 - 18:36:
Author: bugman
Date: Thu May 23 18:36:39 2013
New Revision: 19702

URL: http://svn.gna.org/viewcvs/relax?rev=19702&view=rev
Log:
Fixes for the Jw.test_calc system test - the spectral density value 
comparison is now significant.


Modified:
    trunk/test_suite/system_tests/jw_mapping.py

Modified: trunk/test_suite/system_tests/jw_mapping.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/test_suite/system_tests/jw_mapping.py?rev=19702&r1=19701&r2=19702&view=diff
==============================================================================
--- trunk/test_suite/system_tests/jw_mapping.py (original)
+++ trunk/test_suite/system_tests/jw_mapping.py Thu May 23 18:36:39 2013
@@ -66,9 +66,9 @@
             # Residues -2 and -1 have data.
             if res.num == -2 or res.num == -1:
                 self.assert_(res.spin[0].select)
-                self.assertAlmostEqual(res.spin[0].j0, j0[index])
-                self.assertAlmostEqual(res.spin[0].jwh, jwh[index])
-                self.assertAlmostEqual(res.spin[0].jwx, jwx[index])
+                self.assertAlmostEqual(res.spin[0].j0 * 1e9, j0[index] * 1e9)
+                self.assertAlmostEqual(res.spin[0].jwh * 1e10, jwh[index] * 
1e10)
+                self.assertAlmostEqual(res.spin[0].jwx * 1e12, jwx[index] * 
1e12)
                 index = index + 1
 
             # Other residues have insufficient data.




Related Messages


Powered by MHonArc, Updated Thu May 23 18:40:02 2013