mailr13248 - /branches/gui_testing/test_suite/gui_tests/noe.py


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

Header


Content

Posted by edward on June 28, 2011 - 10:23:
Author: bugman
Date: Tue Jun 28 10:23:22 2011
New Revision: 13248

URL: http://svn.gna.org/viewcvs/relax?rev=13248&view=rev
Log:
The residue numbers are now checked in GUI auto NOE analysis GUI test.


Modified:
    branches/gui_testing/test_suite/gui_tests/noe.py

Modified: branches/gui_testing/test_suite/gui_tests/noe.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/gui_testing/test_suite/gui_tests/noe.py?rev=13248&r1=13247&r2=13248&view=diff
==============================================================================
--- branches/gui_testing/test_suite/gui_tests/noe.py (original)
+++ branches/gui_testing/test_suite/gui_tests/noe.py Tue Jun 28 10:23:22 2011
@@ -118,6 +118,7 @@
         status.exec_lock.acquire('auto noe')
 
         # The real data.
+        res_nums = [4, 5, 6]
         sat = [5050.0, 51643.0, 53663.0]
         ref = [148614.0, 166842.0, 128690.0]
         noe = [0.033980647852826784, 0.30953237194471417, 0.4169943274535706]
@@ -128,10 +129,13 @@
 
         # Check the data.
         i = 0
-        for spin in spin_loop():
+        for spin, mol_name, res_num, res_name in spin_loop(full_info=True):
             # Skip deselected spins.
             if not spin.select:
                 continue
+
+            # Spin info.
+            self.assertEqual(res_nums[i], res_num)
 
             # Check the intensity data.
             self.assertEqual(sat[i], spin.intensities['sat'])




Related Messages


Powered by MHonArc, Updated Tue Jun 28 10:40:03 2011