commit/galaxy-central: dan: merge next stable
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/12265c0cca1f/ Changeset: 12265c0cca1f User: dan Date: 2014-04-14 22:30:29 Summary: merge next stable Affected #: 1 file diff -r a48baeee4ff4014ea42a65adc73f3e5f6184f9a4 -r 12265c0cca1f20c5c87c909a4e6faaff089c70ee lib/galaxy/webapps/galaxy/controllers/tool_runner.py --- a/lib/galaxy/webapps/galaxy/controllers/tool_runner.py +++ b/lib/galaxy/webapps/galaxy/controllers/tool_runner.py @@ -192,7 +192,12 @@ #This needs to be done recursively through grouping parameters def rerun_callback( input, value, prefixed_name, prefixed_label ): if isinstance( value, UnvalidatedValue ): - return str( value ) + try: + return input.to_html_value( value.value, trans.app ) + except Exception, e: + # Need to determine when (if ever) the to_html_value call could fail. + log.debug( "Failed to use input.to_html_value to determine value of unvalidated parameter, defaulting to string: %s" % ( e ) ) + return str( value ) if isinstance( input, DataToolParameter ): if isinstance(value,list): values = [] Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.
participants (1)
-
commits-noreply@bitbucket.org