galaxy-dist commit ca23ea683d26: Fix for workflow inputs that aren't a subtype of text, added 'data' to registry, which is the appropriate supertype.
# HG changeset patch -- Bitbucket.org # Project galaxy-dist # URL http://bitbucket.org/galaxy/galaxy-dist/overview # User Dannon Baker <dannonbaker@me.com> # Date 1289497176 18000 # Node ID ca23ea683d26df004e666ede82950c712e3ac637 # Parent ef3e52251722c1086160643a5f700c5db75a71d4 Fix for workflow inputs that aren't a subtype of text, added 'data' to registry, which is the appropriate supertype. Note that this *will* allow someone to change the datatype of something *to* data. --- a/lib/galaxy/datatypes/registry.py +++ b/lib/galaxy/datatypes/registry.py @@ -208,6 +208,10 @@ class Registry( object ): 'txt' : 'text/plain', 'wig' : 'text/plain' } + # super supertype fix for input steps in workflows. + if 'data' not in self.datatypes_by_extension: + self.datatypes_by_extension['data'] = data.Data() + self.mimetypes_by_extension['data'] = 'application/octet-stream' # Default values - the order in which we attempt to determine data types is critical # because some formats are much more flexibly defined than others. if len(self.sniff_order) < 1:
participants (1)
-
commits-noreply@bitbucket.org