mailRe: r21788 - /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 Troels Emtekær Linnet on December 05, 2013 - 12:58:
Hi Edward.

I thought the same, and wondered how such a test should look like.

I will try to look into your code, and see if I can dig out one of the
earlier tests.

Best
Troels

2013/12/5 Edward d'Auvergne <edward@xxxxxxxxxxxxx>:
Hi Troels,

It might be worth setting up a GUI test to catch this.  As this is not
tested, a code re-factoring will eventually eliminate this feature!
Therefore the problem will return in the future, with close to 100%
probability as code re-factoring is quite common in relax.

Regards,

Edward



On 5 December 2013 12:28,  <tlinnet@xxxxxxxxxxxxx> wrote:
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@xxxxxxx

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

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

This is the relax-devel mailing list
relax-devel@xxxxxxx

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-devel



Related Messages


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