commit/galaxy-central: dan: When working with <conversions> in DataToolParameters, have the parsed conv_types be a list, as is now expected in subsequent usage.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/246b419fc92a/ Changeset: 246b419fc92a User: dan Date: 2014-05-12 21:27:36 Summary: When working with <conversions> in DataToolParameters, have the parsed conv_types be a list, as is now expected in subsequent usage. Affected #: 1 file diff -r 2b7e97a34afa6b33e9950df9213b3cb9be9026a3 -r 246b419fc92a91f31eb7cdd5e2de4a4c15a4b631 lib/galaxy/tools/parameters/basic.py --- a/lib/galaxy/tools/parameters/basic.py +++ b/lib/galaxy/tools/parameters/basic.py @@ -1659,7 +1659,7 @@ conv_extensions = conv_elem.get( "type" ) # target datatype extension # FIXME: conv_extensions should be able to be an ordered list assert None not in [ name, type ], 'A name (%s) and type (%s) are required for explicit conversion' % ( name, type ) - conv_types = tool.app.datatypes_registry.get_datatype_by_extension( conv_extensions.lower() ) + conv_types = [ tool.app.datatypes_registry.get_datatype_by_extension( conv_extensions.lower() ) ] self.conversions.append( ( name, conv_extensions, conv_types ) ) def get_html_field( self, trans=None, value=None, other_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