commit/galaxy-central: guerler: Parameters: Multiselect back to optional by default
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/ab754acceaf9/ Changeset: ab754acceaf9 User: guerler Date: 2015-01-29 05:57:59+00:00 Summary: Parameters: Multiselect back to optional by default Affected #: 1 file diff -r c5415e67cae27304e628103d249264753ad0d7cc -r ab754acceaf9c786c7826dbd9d8316a384acdeb9 lib/galaxy/tools/parameters/basic.py --- a/lib/galaxy/tools/parameters/basic.py +++ b/lib/galaxy/tools/parameters/basic.py @@ -772,6 +772,8 @@ input_source = ensure_input_source( input_source ) ToolParameter.__init__( self, tool, input_source ) self.multiple = input_source.get_bool( 'multiple', False ) + # Multiple selects are optional by default, single selection is the inverse. + self.optional = input_source.parse_optional( self.multiple ) self.display = input_source.get( 'display', None ) self.separator = input_source.get( 'separator', ',' ) self.legal_values = set() 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