mailr17220 - /trunk/test_suite/gui_tests/state.py


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

Header


Content

Posted by edward on July 10, 2012 - 12:24:
Author: bugman
Date: Tue Jul 10 12:24:49 2012
New Revision: 17220

URL: http://svn.gna.org/viewcvs/relax?rev=17220&view=rev
Log:
Fix for the State.test_load_state_no_gui() for handling pipe bundles.

Though not caught by the test, the pipe needs to be associated with a pipe 
bundle to be able to
cleanly associate with a model-free analysis tab.


Modified:
    trunk/test_suite/gui_tests/state.py

Modified: trunk/test_suite/gui_tests/state.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/test_suite/gui_tests/state.py?rev=17220&r1=17219&r2=17220&view=diff
==============================================================================
--- trunk/test_suite/gui_tests/state.py (original)
+++ trunk/test_suite/gui_tests/state.py Tue Jul 10 12:24:49 2012
@@ -74,7 +74,6 @@
             for i in range(len(ds[pipe].mol[0].res)):
                 # Alias.
                 res = ds[pipe].mol[0].res[i]
-                print res.spin[0]
 
                 # Check the 15N spin data.
                 self.assertEqual(res.spin[0].name, 'N')
@@ -93,6 +92,9 @@
         # Simulate the 'Open relax state' menu entry.
         file = status.install_path + sep + 'test_suite' + sep + 
'shared_data' + sep + 'model_free' + sep + 'OMP' + sep + 
'final_results_trunc_1.3_v2'
         self.app.gui.state_load(file_name=file)
+
+        # Create a data pipe bundle.
+        self._execute_uf(uf_name='pipe.bundle', pipe='a')
 
         # Show the pipe editor.
         self.app.gui.show_pipe_editor(None)




Related Messages


Powered by MHonArc, Updated Tue Jul 10 12:40:01 2012