mailr19552 - /trunk/gui/wizards/peak_intensity.py


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

Header


Content

Posted by edward on April 21, 2013 - 18:34:
Author: bugman
Date: Sun Apr 21 18:34:32 2013
New Revision: 19552

URL: http://svn.gna.org/viewcvs/relax?rev=19552&view=rev
Log:
Alphabetical ordering of the methods in the gui.wizards.peak_intensity module.


Modified:
    trunk/gui/wizards/peak_intensity.py

Modified: trunk/gui/wizards/peak_intensity.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/gui/wizards/peak_intensity.py?rev=19552&r1=19551&r2=19552&view=diff
==============================================================================
--- trunk/gui/wizards/peak_intensity.py (original)
+++ trunk/gui/wizards/peak_intensity.py Sun Apr 21 18:34:32 2013
@@ -205,6 +205,20 @@
             return self._num_pages + 1
 
 
+    def wizard_update_noe_spectrum_type(self):
+        """Update the noe.spectrum_type page based on previous data."""
+
+        # The spectrum.read_intensities page.
+        page = self.get_page(self.page_indices['read'])
+
+        # Set the spectrum ID.
+        id = page.uf_args['spectrum_id'].GetValue()
+
+        # Set the ID in the noe.spectrum_type page.
+        page = self.get_page(self.page_indices['spectrum_type'])
+        page.uf_args['spectrum_id'].SetValue(id)
+
+
     def wizard_update_pts(self):
         """Update the spectrum.replicated page based on previous data."""
 
@@ -219,6 +233,20 @@
         page.uf_args['spectrum_id'].SetValue(id)
 
 
+    def wizard_update_relax_fit_relax_time(self):
+        """Update the relax_fit.relax_time page based on previous data."""
+
+        # The spectrum.read_intensities page.
+        page = self.get_page(self.page_indices['read'])
+
+        # Set the spectrum ID.
+        id = page.uf_args['spectrum_id'].GetValue()
+
+        # Set the ID in the relax_fit.relax_time page.
+        page = self.get_page(self.page_indices['relax_time'])
+        page.uf_args['spectrum_id'].SetValue(id)
+
+
     def wizard_update_repl(self):
         """Update the spectrum.replicated page based on previous data."""
 
@@ -244,34 +272,6 @@
 
         # Set the ID in the spectrum.baseplane_rmsd page.
         page = self.get_page(self.page_indices['rmsd'])
-        page.uf_args['spectrum_id'].SetValue(id)
-
-
-    def wizard_update_relax_fit_relax_time(self):
-        """Update the relax_fit.relax_time page based on previous data."""
-
-        # The spectrum.read_intensities page.
-        page = self.get_page(self.page_indices['read'])
-
-        # Set the spectrum ID.
-        id = page.uf_args['spectrum_id'].GetValue()
-
-        # Set the ID in the relax_fit.relax_time page.
-        page = self.get_page(self.page_indices['relax_time'])
-        page.uf_args['spectrum_id'].SetValue(id)
-
-
-    def wizard_update_noe_spectrum_type(self):
-        """Update the noe.spectrum_type page based on previous data."""
-
-        # The spectrum.read_intensities page.
-        page = self.get_page(self.page_indices['read'])
-
-        # Set the spectrum ID.
-        id = page.uf_args['spectrum_id'].GetValue()
-
-        # Set the ID in the noe.spectrum_type page.
-        page = self.get_page(self.page_indices['spectrum_type'])
         page.uf_args['spectrum_id'].SetValue(id)
 
 




Related Messages


Powered by MHonArc, Updated Sun Apr 21 19:00:02 2013