mailr14639 - /1.3/gui/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 September 14, 2011 - 18:44:
Author: bugman
Date: Wed Sep 14 18:44:32 2011
New Revision: 14639

URL: http://svn.gna.org/viewcvs/relax?rev=14639&view=rev
Log:
Fixes for the GUI user function launching in the model-free auto-analysis tab.


Modified:
    1.3/gui/analyses/auto_model_free.py

Modified: 1.3/gui/analyses/auto_model_free.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/gui/analyses/auto_model_free.py?rev=14639&r1=14638&r2=14639&view=diff
==============================================================================
--- 1.3/gui/analyses/auto_model_free.py (original)
+++ 1.3/gui/analyses/auto_model_free.py Wed Sep 14 18:44:32 2011
@@ -52,6 +52,7 @@
 from gui.misc import add_border, gui_to_int, gui_to_str, list_to_gui, 
protected_exec, str_to_gui
 from gui import paths
 from gui.user_functions.structure import Read_pdb_page, Vectors_page
+from gui.user_functions import User_functions; user_functions = 
User_functions()
 from gui.wizard import Wiz_window
 
 
@@ -696,7 +697,7 @@
         """
 
         # Call the user function.
-        self.gui.user_functions.value.set(None, param='csa')
+        user_functions.value.set(param='csa')
 
 
     def value_set_heteronuc_type(self, event):
@@ -707,7 +708,7 @@
         """
 
         # Call the user function.
-        self.gui.user_functions.value.set(None, param='heteronuc_type')
+        user_functions.value.set(param='heteronuc_type')
 
 
     def value_set_proton_type(self, event):
@@ -718,7 +719,7 @@
         """
 
         # Call the user function.
-        self.gui.user_functions.value.set(None, param='proton_type')
+        user_functions.value.set(param='proton_type')
 
 
     def value_set_r(self, event):
@@ -729,7 +730,7 @@
         """
 
         # Call the user function.
-        self.gui.user_functions.value.set(None, param='r')
+        user_functions.value.set(param='r')
 
 
 




Related Messages


Powered by MHonArc, Updated Wed Sep 14 19:00:02 2011