mailRe: r11110 - /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 April 28, 2010 - 00:16:
This has to be done, otherwise the GUI cannot communicate with relax. It should be done already everywhere, I just forgot it for this element.

Edward d'Auvergne wrote:
Hi,

Unicode is always a frustrating problem!  Maybe we should set up a
rule that any data coming from the GUI should pass through str()
first?  Or float(), int(), etc.

Regards,

Edward



On 22 April 2010 06:14,  <michael.bieri@xxxxxxxxxxxxx> wrote:
Author: michaelbieri
Date: Thu Apr 22 06:14:32 2010
New Revision: 11110

URL: http://svn.gna.org/viewcvs/relax?rev=11110&view=rev
Log:
Unicode entry for spectrometer frequency is converted into string for noe 
filename.

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=11110&r1=11109&r2=11110&view=diff
==============================================================================
--- branches/bieri_gui/gui_bieri/analyses/auto_noe.py (original)
+++ branches/bieri_gui/gui_bieri/analyses/auto_noe.py Thu Apr 22 06:14:32 2010
@@ -374,7 +374,7 @@
        data.save_dir = self.data.save_dir

        # Filename.
-        data.filename = 'noe.' + self.field_nmr_frq.GetValue()
+        data.filename = 'noe.' + str(self.field_nmr_frq.GetValue())

        # The integration method.
        data.int_method = 'height'


_______________________________________________
relax (http://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://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 Wed Apr 28 00:20:26 2010