[hg] galaxy 2354: Fix for tool parameters - objects should now b...
details: http://www.bx.psu.edu/hg/galaxy/rev/91e55ed1a0bd changeset: 2354:91e55ed1a0bd user: Greg Von Kuster <greg@bx.psu.edu> date: Mon Apr 20 18:34:58 2009 -0400 description: Fix for tool parameters - objects should now be correctly tranlsated to strings, and functional tests should now pass. 1 file(s) affected in this change: lib/galaxy/tools/parameters/basic.py diffs (12 lines): diff -r 588b0ebb7451 -r 91e55ed1a0bd lib/galaxy/tools/parameters/basic.py --- a/lib/galaxy/tools/parameters/basic.py Mon Apr 20 14:28:08 2009 -0400 +++ b/lib/galaxy/tools/parameters/basic.py Mon Apr 20 18:34:58 2009 -0400 @@ -569,7 +569,7 @@ def value_to_basic( self, value, app ): if isinstance( value, UnvalidatedValue ): return { "__class__": "UnvalidatedValue", "value": value.value } - return super( SelectToolParameter, self ).value_to_basic( value, app ) + return value def value_from_basic( self, value, app, ignore_errors=False ): if isinstance( value, dict ) and value["__class__"] == "UnvalidatedValue": return UnvalidatedValue( value["value"] )
participants (1)
-
Greg Von Kuster