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