Author: bugman Date: Wed May 23 09:05:23 2012 New Revision: 16409 URL: http://svn.gna.org/viewcvs/relax?rev=16409&view=rev Log: Fix in the GUI uf page SetValue() method for the sequence.display user function. The uf has the 'sep' arg, but this is not part of the free file format set of args! The SetValue() method is now checking if the free file format is active for the page, before assuming an arg is part of that set. Modified: branches/uf_redesign/gui/uf_objects.py Modified: branches/uf_redesign/gui/uf_objects.py URL: http://svn.gna.org/viewcvs/relax/branches/uf_redesign/gui/uf_objects.py?rev=16409&r1=16408&r2=16409&view=diff ============================================================================== --- branches/uf_redesign/gui/uf_objects.py (original) +++ branches/uf_redesign/gui/uf_objects.py Wed May 23 09:05:23 2012 @@ -352,7 +352,7 @@ """ # Handle the free file format args (for external control, i.e. via the test suite). - if key in ['spin_id_col', 'mol_name_col', 'res_num_col', 'res_name_col', 'spin_num_col', 'spin_name_col', 'data_col', 'error_col', 'sep']: + if 'free_file_format' in self.uf_args and key in ['spin_id_col', 'mol_name_col', 'res_num_col', 'res_name_col', 'spin_num_col', 'spin_name_col', 'data_col', 'error_col', 'sep']: self.uf_args['free_file_format'].SetValue(key, value) # Call the argument element's method.