mailr16469 - /branches/uf_redesign/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 25, 2012 - 19:28:
Author: bugman
Date: Fri May 25 19:28:53 2012
New Revision: 16469

URL: http://svn.gna.org/viewcvs/relax?rev=16469&view=rev
Log:
Loosened the checking conditions for the test_set_value() J(w) mapping system 
(and GUI) test.

Just like the consistenecy testing, the GUI string conversions to and from 
floats introduces a
slight truncation.


Modified:
    branches/uf_redesign/test_suite/system_tests/jw_mapping.py

Modified: branches/uf_redesign/test_suite/system_tests/jw_mapping.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/uf_redesign/test_suite/system_tests/jw_mapping.py?rev=16469&r1=16468&r2=16469&view=diff
==============================================================================
--- branches/uf_redesign/test_suite/system_tests/jw_mapping.py (original)
+++ branches/uf_redesign/test_suite/system_tests/jw_mapping.py Fri May 25 
19:28:53 2012
@@ -78,8 +78,8 @@
 
         # Loop over residues.
         for res in residue_loop():
-            self.assertEqual(res.spin[0].r, NH_BOND_LENGTH)
-            self.assertEqual(res.spin[0].csa, N15_CSA)
+            self.assertAlmostEqual(res.spin[0].r, NH_BOND_LENGTH)
+            self.assertAlmostEqual(res.spin[0].csa, N15_CSA)
 
 
     def test_mapping(self):




Related Messages


Powered by MHonArc, Updated Mon May 28 10:40:02 2012