Author: bugman Date: Wed Sep 19 11:24:21 2012 New Revision: 17501 URL: http://svn.gna.org/viewcvs/relax?rev=17501&view=rev Log: Fix for bug #20184 (https://gna.org/bugs/?20184). The behaviour of the gui.string_conv.gui_to_int() and related functions has changed in the last few months and the Sequence_window() GUI element has not changed to match. This has been fixed and the User_functions.test_structure_pdb_read() GUI test now passes. Modified: trunk/gui/input_elements/sequence.py Modified: trunk/gui/input_elements/sequence.py URL: http://svn.gna.org/viewcvs/relax/trunk/gui/input_elements/sequence.py?rev=17501&r1=17500&r2=17501&view=diff ============================================================================== --- trunk/gui/input_elements/sequence.py (original) +++ trunk/gui/input_elements/sequence.py Wed Sep 19 11:24:21 2012 @@ -250,7 +250,8 @@ if self.single_value: try: value = self.convert_from_gui(value) - value_set = True + if isinstance(value, self.value_type): + value_set = True except: pass