From e15b218725bce5325516efc2a161d183dcd59ca9 Mon Sep 17 00:00:00 2001 From: Greg Von Kuster Date: Tue, 5 Feb 2008 19:35:13 +0000 Subject: [PATCH] Fix to the hack in --- lib/galaxy/tools/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/galaxy/tools/__init__.py b/lib/galaxy/tools/__init__.py index f211d7b774e..3cef58f9c59 100644 --- a/lib/galaxy/tools/__init__.py +++ b/lib/galaxy/tools/__init__.py @@ -759,7 +759,7 @@ class Tool: errors[ input.name ] = old_errors[ input.name ] else: incoming_value = incoming.get( key, None ) - if incoming_value == 'None' and isinstance( input, SelectToolParameter ) and input.is_dynamic: + if ( incoming_value == 'None' or incoming_value == '?' ) and isinstance( input, SelectToolParameter ) and input.is_dynamic: # FIXME: This is a HACK, but is necessary because the # values in incoming are not yet set by the user when # the select list is dynamically generated.