Author: bugman Date: Tue Jan 11 12:54:02 2011 New Revision: 12200 URL: http://svn.gna.org/viewcvs/relax?rev=12200&view=rev Log: Bug fix: The data and error column numbers are now saved to the relax data store. Modified: branches/bieri_gui/gui_bieri/user_functions/base.py Modified: branches/bieri_gui/gui_bieri/user_functions/base.py URL: http://svn.gna.org/viewcvs/relax/branches/bieri_gui/gui_bieri/user_functions/base.py?rev=12200&r1=12199&r2=12200&view=diff ============================================================================== --- branches/bieri_gui/gui_bieri/user_functions/base.py (original) +++ branches/bieri_gui/gui_bieri/user_functions/base.py Tue Jan 11 12:54:02 2011 @@ -1,6 +1,6 @@ ############################################################################### # # -# Copyright (C) 2010 Edward d'Auvergne # +# Copyright (C) 2010-2011 Edward d'Auvergne # # # # This file is part of the program relax. # # # @@ -627,6 +627,12 @@ ds.relax_gui.free_file_format.spin_num_col = gui_to_int(self.spin_num_col.GetValue()) ds.relax_gui.free_file_format.spin_name_col = gui_to_int(self.spin_name_col.GetValue()) + # The data and error. + if hasattr(self, 'data_col'): + ds.relax_gui.free_file_format.data_col = gui_to_int(self.data_col.GetValue()) + if hasattr(self, 'err_col'): + ds.relax_gui.free_file_format.err_col = gui_to_int(self.err_col.GetValue()) + # The column separator. ds.relax_gui.free_file_format.sep = str(self.sep.GetValue()) if ds.relax_gui.free_file_format.sep == 'white space':