mailr10518 - /branches/bieri_gui/gui_bieri/analyses/auto_model_free.py


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

Header


Content

Posted by edward on January 28, 2010 - 14:33:
Author: bugman
Date: Thu Jan 28 14:32:59 2010
New Revision: 10518

URL: http://svn.gna.org/viewcvs/relax?rev=10518&view=rev
Log:
Temporary commit - this disables the threaded execution and the IO 
redirection.

Some threading bug is being hidden by a bug in the IO redirection.


Modified:
    branches/bieri_gui/gui_bieri/analyses/auto_model_free.py

Modified: branches/bieri_gui/gui_bieri/analyses/auto_model_free.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/bieri_gui/gui_bieri/analyses/auto_model_free.py?rev=10518&r1=10517&r2=10518&view=diff
==============================================================================
--- branches/bieri_gui/gui_bieri/analyses/auto_model_free.py (original)
+++ branches/bieri_gui/gui_bieri/analyses/auto_model_free.py Thu Jan 28 
14:32:59 2010
@@ -799,7 +799,8 @@
         thread_cont = self.gui.calc_threads[-1]
 
         # Start the thread.
-        id = thread.start_new_thread(self.execute_thread, (), 
{'global_model': global_model, 'automatic': automatic})
+        #id = thread.start_new_thread(self.execute_thread, (), 
{'global_model': global_model, 'automatic': automatic})
+        self.execute_thread(global_model, automatic)
 
         # Add the thread info to the container.
         thread_cont.id = id
@@ -822,8 +823,8 @@
 
         # Redirect relax output and errors to the controller.
         redir = Redirect_text(self.gui.controller)
-        sys.stdout = redir
-        sys.stderr = redir
+        #sys.stdout = redir
+        #sys.stderr = redir
 
         # Print a header in the controller.
         wx.CallAfter(self.gui.controller.log_panel.AppendText, ('Starting 
Model-free calculation\n------------------------------------------\n\n') )




Related Messages


Powered by MHonArc, Updated Thu Jan 28 14:40:02 2010