mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
... and not all select params have static_options attribute.
Bug fixes for bug fixes - why do I even try?
This commit is contained in:
@@ -202,7 +202,7 @@ class ToolTestBuilder( object ):
|
||||
for ( name, value, extra ) in collection_def.collect_inputs():
|
||||
require_file( name, value, extra, self.required_files )
|
||||
processed_value = collection_def
|
||||
elif isinstance( value, basic.SelectToolParameter ):
|
||||
elif isinstance( value, basic.SelectToolParameter ) and hasattr( value, 'static_options' ):
|
||||
# Tests may specify values as either raw value or the value
|
||||
# as they appear in the list - the API doesn't and shouldn't
|
||||
# accept the text value - so we need to convert the text
|
||||
|
||||
Reference in New Issue
Block a user