mailr10896 - /branches/bieri_gui/gui_bieri/analyses/auto_noe.py


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

Header


Content

Posted by michael . bieri on February 24, 2010 - 06:00:
Author: michaelbieri
Date: Wed Feb 24 06:00:15 2010
New Revision: 10896

URL: http://svn.gna.org/viewcvs/relax?rev=10896&view=rev
Log:
Correct alphabetic order was build for functions in auto_noe.py.



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

Modified: branches/bieri_gui/gui_bieri/analyses/auto_noe.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/bieri_gui/gui_bieri/analyses/auto_noe.py?rev=10896&r1=10895&r2=10896&view=diff
==============================================================================
--- branches/bieri_gui/gui_bieri/analyses/auto_noe.py (original)
+++ branches/bieri_gui/gui_bieri/analyses/auto_noe.py Wed Feb 24 06:00:15 2010
@@ -149,6 +149,60 @@
         box.Add(sizer, 0, wx.EXPAND|wx.SHAPED, 0)
 
 
+    def add_reference_peak_list(self, box):
+        """Create and add the reference file selection GUI element to the 
given box.
+
+        @param box:     The box element to pack the structure file selection 
GUI element into.
+        @type box:      wx.BoxSizer instance
+        """
+
+        # Horizontal packing for this element.
+        sizer = wx.BoxSizer(wx.HORIZONTAL)
+
+        # The label.
+        label = wx.StaticText(self.parent, -1, "Reference NOE peak list:", 
style=wx.ALIGN_RIGHT)
+        label.SetMinSize((230, 17))
+        sizer.Add(label, 0, 
wx.LEFT|wx.ALIGN_CENTER_VERTICAL|wx.ADJUST_MINSIZE, 0)
+
+        # The text input field.
+        self.field_ref_noe = wx.TextCtrl(self.parent, -1, self.data.ref_file)
+        self.field_ref_noe.SetMinSize((350, 27))
+        sizer.Add(self.field_ref_noe, 0, 
wx.ALIGN_CENTER_VERTICAL|wx.ADJUST_MINSIZE, 0)
+
+        # The button.
+        button = wx.Button(self.parent, -1, "Change")
+        button.SetMinSize((103, 27))
+        self.gui.Bind(wx.EVT_BUTTON, self.ref_file, button)
+        sizer.Add(button, 0, wx.ALIGN_CENTER_VERTICAL|wx.ADJUST_MINSIZE, 10)
+
+        # Add the element to the box.
+        box.Add(sizer, 0, wx.EXPAND|wx.SHAPED, 0)
+
+
+    def add_reference_rmsd(self, box):
+        """Create and add the background RMSD GUI element to the given box.
+
+        @param box:     The box element to pack the structure file selection 
GUI element into.
+        @type box:      wx.BoxSizer instance
+        """
+
+        # Horizontal packing for this element.
+        sizer = wx.BoxSizer(wx.HORIZONTAL)
+
+        # The label.
+        label = wx.StaticText(self.parent, -1, "Background RMSD:", 
style=wx.ALIGN_RIGHT)
+        label.SetMinSize((230, 17))
+        sizer.Add(label, 0, 
wx.LEFT|wx.ALIGN_CENTER_VERTICAL|wx.ADJUST_MINSIZE, 0)
+
+        # The text input field.
+        self.field_ref_rmsd = wx.TextCtrl(self.parent, -1, 
str(self.data.ref_rmsd))
+        self.field_ref_rmsd.SetMinSize((350, 27))
+        sizer.Add(self.field_ref_rmsd, 0, 
wx.ALIGN_CENTER_VERTICAL|wx.ADJUST_MINSIZE, 0)
+
+        # Add the element to the box.
+        box.Add(sizer, 0, wx.EXPAND|wx.SHAPED, 0)
+
+
     def add_results_dir(self, box):
         """Create and add the results directory GUI element to the given box.
 
@@ -230,60 +284,6 @@
         self.field_unresolved.SetMinSize((350, 27))
         sizer.Add(self.field_unresolved, 0, 
wx.ALIGN_CENTER_VERTICAL|wx.ADJUST_MINSIZE, 0)
         
-        # Add the element to the box.
-        box.Add(sizer, 0, wx.EXPAND|wx.SHAPED, 0)
-
-
-    def add_reference_peak_list(self, box):
-        """Create and add the reference file selection GUI element to the 
given box.
-
-        @param box:     The box element to pack the structure file selection 
GUI element into.
-        @type box:      wx.BoxSizer instance
-        """
-
-        # Horizontal packing for this element.
-        sizer = wx.BoxSizer(wx.HORIZONTAL)
-
-        # The label.
-        label = wx.StaticText(self.parent, -1, "Reference NOE peak list:", 
style=wx.ALIGN_RIGHT)
-        label.SetMinSize((230, 17))
-        sizer.Add(label, 0, 
wx.LEFT|wx.ALIGN_CENTER_VERTICAL|wx.ADJUST_MINSIZE, 0)
-
-        # The text input field.
-        self.field_ref_noe = wx.TextCtrl(self.parent, -1, self.data.ref_file)
-        self.field_ref_noe.SetMinSize((350, 27))
-        sizer.Add(self.field_ref_noe, 0, 
wx.ALIGN_CENTER_VERTICAL|wx.ADJUST_MINSIZE, 0)
-
-        # The button.
-        button = wx.Button(self.parent, -1, "Change")
-        button.SetMinSize((103, 27))
-        self.gui.Bind(wx.EVT_BUTTON, self.ref_file, button)
-        sizer.Add(button, 0, wx.ALIGN_CENTER_VERTICAL|wx.ADJUST_MINSIZE, 10)
-
-        # Add the element to the box.
-        box.Add(sizer, 0, wx.EXPAND|wx.SHAPED, 0)
-
-
-    def add_reference_rmsd(self, box):
-        """Create and add the background RMSD GUI element to the given box.
-
-        @param box:     The box element to pack the structure file selection 
GUI element into.
-        @type box:      wx.BoxSizer instance
-        """
-
-        # Horizontal packing for this element.
-        sizer = wx.BoxSizer(wx.HORIZONTAL)
-
-        # The label.
-        label = wx.StaticText(self.parent, -1, "Background RMSD:", 
style=wx.ALIGN_RIGHT)
-        label.SetMinSize((230, 17))
-        sizer.Add(label, 0, 
wx.LEFT|wx.ALIGN_CENTER_VERTICAL|wx.ADJUST_MINSIZE, 0)
-
-        # The text input field.
-        self.field_ref_rmsd = wx.TextCtrl(self.parent, -1, 
str(self.data.ref_rmsd))
-        self.field_ref_rmsd.SetMinSize((350, 27))
-        sizer.Add(self.field_ref_rmsd, 0, 
wx.ALIGN_CENTER_VERTICAL|wx.ADJUST_MINSIZE, 0)
-
         # Add the element to the box.
         box.Add(sizer, 0, wx.EXPAND|wx.SHAPED, 0)
 




Related Messages


Powered by MHonArc, Updated Wed Feb 24 06:20:02 2010