1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/5f20704ea908/ changeset: 5f20704ea908 user: greg date: 2013-03-01 22:13:29 summary: Be conservative when displaying custom datatypes in the tool shed. affected #: 1 file diff -r c7c8316a1d134a19e929a2257a701ec1ebc3a33a -r 5f20704ea90836a5fa54f63c78ceaa536010c4e8 lib/galaxy/webapps/tool_shed/controllers/repository.py --- a/lib/galaxy/webapps/tool_shed/controllers/repository.py +++ b/lib/galaxy/webapps/tool_shed/controllers/repository.py @@ -967,9 +967,9 @@ num_datatype_dicts = len( datatype_dicts ) for index, datatype_dict in enumerate( datatype_dicts ): # Example: {"display_in_upload": "true", "dtype": "galaxy.datatypes.blast:BlastXml", "extension": "blastxml", "mimetype": "application/xml"} - extension = datatype_dict[ 'extension' ] - dtype = datatype_dict[ 'dtype' ] - mimetype = datatype_dict[ 'mimetype' ] + extension = datatype_dict.get( 'extension', '' ) + dtype = datatype_dict.get( 'dtype', '' ) + mimetype = datatype_dict.get( 'mimetype', '' ) display_in_upload = datatype_dict.get( 'display_in_upload', False ) datatype_str += '<b>%s</b> | %s | %s' % ( escape_html( extension ), escape_html( dtype ), escape_html( mimetype ) ) if index < num_datatype_dicts - 1: 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.