Assaf, thanks for pointing this out.
I'll be presenting at the Galaxy Community Conference a talk that pertains to
Greg Von Kuster
On Apr 1, 2011, at 5:59 PM, Assaf Gordon wrote:
> Tiny bug:
> When viewing a file inside a tarball, the content-type is forced to
> Works for most files, but not with image files (example: the "Sequence Logo"
> tool has a jpg image in the tarball, the browser will display it as
> text/plain with binary characters).
> This is done in "./lib/galaxy/webapps/community/controllers/tool.py",
> function "view_tool_file", line 206:
> trans.response.set_content_type( 'text/plain' )
> regardless of the file type.
> The complicated solution would be to use the "mimetype" library
> (http://docs.python.org/library/mimetypes.html) or python-magic
> (https://github.com/ahupp/python-magic), but a simpler workaround would be to
> just check the file name for "jpg/png/gif" extensions and change the
> content-type appropriately.
> Feature request:
> A way to easily link to tools, so I can send to them to other people or point
> them in the right direction.
> Ross's Web logo tool (great tool, BTW), If I want to tell where it is, the
> link is:
> or direct downloading the tarball is:
> Both are probably not stable links (if a new version is uploaded).
> Please keep all replies on the list by using "reply all"
> in your mail client. To manage your subscriptions to this
> and other Galaxy lists, please use the interface at:
Greg Von Kuster
Galaxy Development Team
Please keep all replies on the list by using "reply all"
in your mail client. To manage your subscriptions to this
and other Galaxy lists, please use the interface at: