mailr21788 - /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 tlinnet on December 05, 2013 - 12:28:
Author: tlinnet
Date: Thu Dec  5 12:28:06 2013
New Revision: 21788

URL: http://svn.gna.org/viewcvs/relax?rev=21788&view=rev
Log:
Fix for loading a seriesTab formatted intensity, and getting the ID for the 
following GUI elements.

Fix for bug #21076, (https://gna.org/bugs/?21076) - When loading a 
multi-spectra NMRPipe seriesTab file through the GUI, several Error messages 
occur.

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=21788&r1=21787&r2=21788&view=diff
==============================================================================
--- trunk/gui/wizards/peak_intensity.py (original)
+++ trunk/gui/wizards/peak_intensity.py Thu Dec  5 12:28:06 2013
@@ -317,6 +317,11 @@
             # Use only the first element.
             id = id[0]
 
+        # Handle keyword 'auto'.
+        if id == 'auto':
+            # Return the first ID.
+            id = 'Z_A0'
+
         # Set the ID in the page.
         page = self.get_page(self.page_indices[page_key])
         if index == None:




Related Messages


Powered by MHonArc, Updated Thu Dec 05 14:20:02 2013