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:


_______________________________________________
relax (http://www.nmr-relax.com)

This is the relax-commits mailing list
relax-commits@gna.org

To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-commits

Reply via email to