mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-10-24 02:04:04 +08:00
Handle unvalidated values in depth
This commit is contained in:
@@ -2154,6 +2154,9 @@ class Tool( object, Dictifiable ):
|
||||
def jsonify(v):
|
||||
if isinstance(v, UnvalidatedValue):
|
||||
v = v.value
|
||||
while isinstance( v, UnvalidatedValue ):
|
||||
v = v.value
|
||||
return v
|
||||
|
||||
# check if value is numeric
|
||||
isnumber = False
|
||||
|
||||
Reference in New Issue
Block a user