mailr10337 - /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 25, 2010 - 21:54:
Author: bugman
Date: Mon Jan 25 21:54:08 2010
New Revision: 10337

URL: http://svn.gna.org/viewcvs/relax?rev=10337&view=rev
Log:
The self.modelfree GUI panel is now passed into Auto_model_free.


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=10337&r1=10336&r2=10337&view=diff
==============================================================================
--- branches/bieri_gui/gui_bieri/analyses/auto_model_free.py (original)
+++ branches/bieri_gui/gui_bieri/analyses/auto_model_free.py Mon Jan 25 
21:54:08 2010
@@ -53,8 +53,15 @@
 
 
 class Auto_model_free:
-    def __init__(self):
-        """Build the automatic model-free protocol GUI element."""
+    def __init__(self, modelfree):
+        """Build the automatic model-free protocol GUI element.
+
+        @param modelfree:   The model-free panel object to pack the GUI 
element into.
+        @type modelfree:    wx.Panel instance
+        """
+
+        # Store the args in the class namespace.
+        self.modelfree = modelfree
 
         self.bitmap_2 = wx.StaticBitmap(self.modelfree, -1, 
wx.Bitmap(IMAGE_PATH+'modelfree.png', wx.BITMAP_TYPE_ANY))
         self.label_4_copy_copy_copy_copy_1_copy = 
wx.StaticText(self.modelfree, -1, "Set-up for Model-free analysis:")




Related Messages


Powered by MHonArc, Updated Mon Jan 25 22:00:02 2010