Hi,
This should give you access to the info the relax controller needs.
If additional information is required, I can add this to the 1.3 line.
Note that the current use of the thread python package might cause a
problem when reading this. Switching to the threading module should
help. As a last resort, I have written a thread safe version of the
status relax module that I can commit to the 1.3 line.
Regards,
Edward
On 14 March 2010 23:45, <michael.bieri@xxxxxx> wrote:
Author: michaelbieri
Date: Sun Mar 14 23:45:25 2010
New Revision: 10997
URL: http://svn.gna.org/viewcvs/relax?rev=10997&view=rev
Log:
The status information of the singleton is integrated in the relaxGUI
controller.
Modified:
branches/bieri_gui/gui_bieri/controller.py
Modified: branches/bieri_gui/gui_bieri/controller.py
URL:
http://svn.gna.org/viewcvs/relax/branches/bieri_gui/gui_bieri/controller.py?rev=10997&r1=10996&r2=10997&view=diff
==============================================================================
--- branches/bieri_gui/gui_bieri/controller.py (original)
+++ branches/bieri_gui/gui_bieri/controller.py Sun Mar 14 23:45:25 2010
@@ -31,6 +31,9 @@
import time
import thread
import wx
+
+# relax module imports.
+from status import Status
# relaxGUI module imports.
from gui_bieri.execution.calc_noe import make_noe
@@ -68,6 +71,9 @@
# Button actions
self.Bind(wx.EVT_BUTTON, self.cancel_calculation, self.cancel_button)
self.Bind(wx.EVT_BUTTON, self.handler_close, self.close_button)
+
+ # Integrate Singleton object.
+ status = Status()
# Start Calculation in Thread
#if WHICH_CALC == 'Rx':
_______________________________________________
relax (http://nmr-relax.com)
This is the relax-commits mailing list
relax-commits@xxxxxxx
To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-commits
_______________________________________________
relax (http://nmr-relax.com)
This is the relax-devel mailing list
relax-devel@xxxxxxx
To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-devel