Hello

We have some tools that wrap an in-house program which generates an Excel spreadsheet as one of its outputs, and wanted Galaxy to associate the correct mime type so that the user's browser knows how to handle it on view/download.


The advice on the wiki at

http://wiki.g2.bx.psu.edu/Admin/FAQ#Configuring_Galaxy_so_a_tool_can_properly_generate_an_Excel_file

appears to be out of date, so instead as a workaround I've edited datatypes_conf.xml and replaced the existing "xls" type:

<datatype extension="xls" type="galaxy.datatypes.data:Data" mimetype="application/vnd.ms-excel" />

This seems to work (in that clicking the eye icon now givens me a download dialogue rather than a server error message). However I'm wondering:

- Would type="galaxy.datatypes.binary:Binary" be a better choice?
- What are the consequences of replacing the original "xls" datatype?
- More generally, is there a way to keep the locally defined datatypes separate from the main
  datatypes_conf.xml file?

Thanks for any advice or comments (& apologies if I've missed anything obvious on the list or on the wiki)

Best wishes, Peter

--
Peter Briggs peter.bri...@manchester.ac.uk
Bioinformatics Core Facility University of Manchester
B.1083 Michael Smith Bldg Tel: (0161) 2751482
___________________________________________________________
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:

 http://lists.bx.psu.edu/

Reply via email to