mailr16880 - /tags/2.0.0/test_suite/gui_tests/model_free.py


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

Header


Content

Posted by edward on June 12, 2012 - 14:21:
Author: bugman
Date: Tue Jun 12 14:21:24 2012
New Revision: 16880

URL: http://svn.gna.org/viewcvs/relax?rev=16880&view=rev
Log:
Ported r16865 from trunk to fix stability problems with 2.0.0.

The command used was:
svn merge -r16865:r16866 svn+ssh://bugman@xxxxxxxxxxx/svn/relax/trunk .

.....
  r16866 | bugman | 2012-06-11 21:05:16 +0200 (Mon, 11 Jun 2012) | 6 lines
  Changed paths:
     M /trunk/test_suite/gui_tests/model_free.py

     Bug fix for a segmentation fault occurring during the model-free GUI 
test.

     Flushing of the interpreter queue object is needed as some parts of the 
interface use asynchronous
     user function calls.
.....


Modified:
    tags/2.0.0/test_suite/gui_tests/model_free.py

Modified: tags/2.0.0/test_suite/gui_tests/model_free.py
URL: 
http://svn.gna.org/viewcvs/relax/tags/2.0.0/test_suite/gui_tests/model_free.py?rev=16880&r1=16879&r2=16880&view=diff
==============================================================================
--- tags/2.0.0/test_suite/gui_tests/model_free.py (original)
+++ tags/2.0.0/test_suite/gui_tests/model_free.py Tue Jun 12 14:21:24 2012
@@ -106,12 +106,16 @@
         # Set the values, using the methods behind the buttons to set up the 
user functions with default values, and then manually executing the user 
function.
         analysis.value_set_csa()
         uf_store['value.set'].wizard._ok()
+        interpreter.flush()    # Required because of the asynchronous uf 
call.
         analysis.value_set_r()
         uf_store['value.set'].wizard._ok()
+        interpreter.flush()    # Required because of the asynchronous uf 
call.
         analysis.value_set_heteronuc_type()
         uf_store['value.set'].wizard._ok()
+        interpreter.flush()    # Required because of the asynchronous uf 
call.
         analysis.value_set_proton_type()
         uf_store['value.set'].wizard._ok()
+        interpreter.flush()    # Required because of the asynchronous uf 
call.
 
         # The unit vector loading wizard.
         analysis.load_unit_vectors()
@@ -120,9 +124,11 @@
         page = analysis.vect_wizard.get_page(0)
         page.uf_args['file'].SetValue(str_to_gui(status.install_path + sep + 
'test_suite' + sep + 'shared_data' + sep + 'model_free' + sep + 'sphere' + 
sep + 'sphere.pdb'))
         analysis.vect_wizard._go_next()
+        interpreter.flush()    # Required because of the asynchronous uf 
call.
 
         # The unit vectors.
         analysis.vect_wizard._go_next()
+        interpreter.flush()    # Required because of the asynchronous uf 
call.
 
         # Select only the tm0 and tm1 local tm models.
         analysis.local_tm_model_field.select = [True, True, False, False, 
False, False, False, False, False, False]




Related Messages


Powered by MHonArc, Updated Tue Jun 12 14:40:02 2012