commit/galaxy-central: jmchilton: Merged in dan/galaxy-central-prs/stable (pull request #494)
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/2c0a15d8d6b4/ Changeset: 2c0a15d8d6b4 Branch: stable User: jmchilton Date: 2014-09-15 21:17:02 Summary: Merged in dan/galaxy-central-prs/stable (pull request #494) [STABLE] Fix for handling unvalidated values in select lists. Addresses https://trello.com/c/5DKHp4ck Affected #: 1 file diff -r db520d1547165e56b3a0a0ff01fb854c0f93e4b1 -r 2c0a15d8d6b4a98295df6f3b614bb54da452d1d9 lib/galaxy/tools/parameters/basic.py --- a/lib/galaxy/tools/parameters/basic.py +++ b/lib/galaxy/tools/parameters/basic.py @@ -783,6 +783,8 @@ if value is not None: if not isinstance( value, list ): value = [ value ] + # We could have an unvalidated value here when e.g. running a workflow. + value = [ val.value if isinstance( val, UnvalidatedValue ) else val for val in value ] field = form_builder.SelectField( self.name, self.multiple, self.display, self.refresh_on_change, refresh_on_change_values=self.refresh_on_change_values ) options = self.get_options( trans, context ) for text, optval, selected in options: 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