Hi All,

Thanks for the responses! I just got around to trying the solution by Joe
Cruz. This did the trick for xls files, so that's the good news! The
slightly less good news is that the same does not hold for xlsx files.
Those files are pure zip files containing lots of internal xml stuff. Even
when following the suggested procedure, Galaxy insists that it knows how to
handle those files: by unpacking them and returning the first file from the
zip (in this case a pretty useless xml file).

On a more general note, having to do these tricks can restrict sharing of
new tools a bit in my opinion. It would be great if there would be an easy
way to tell Galaxy: "leave files of this type as is, I can handle it" :P

Siemen

On Thu, Dec 8, 2011 at 10:18 PM, Peter Cock <p.j.a.c...@googlemail.com>wrote:

> > On Fri, Dec 9, 2011 at 3:35 AM, Peter Cock <p.j.a.c...@googlemail.com>
> wrote:
> >>
> >> P.S. Why do you call your class XIs, surely Excel would be
> >> clearer?
>
> I've only just realised Xls is title case xls (as in the extension),
> I read it at the title case of xis (which made no sense). I still
> think using Excel as the class name would be clearer.
>
> On Thu, Dec 8, 2011 at 9:01 PM, Ross <ross.laza...@gmail.com> wrote:
> > +1
> > I'd agree that calling it excel is suitably wry - because it doesn't
> IMHO.
> > Please name the new binary datatype something other than xls because
> > many (of my) tools create outputs with that extension and it's a
> > subclass of tabular here - the .xls extension fools excel into loading
> > them automagically.
>
> I don't entirely agree with your logic, but I would agree that
> as the format name it would be consistent with most of the
> other Galaxy formats to go for a longer name (e.g. "excel")
> over a short 3 letter extension (here "xls").
>
> However, does this matter for the extension that Galaxy
> gives on downloading the dataset, or is that all done via
> the mime type? We want it to be easy for people to
> download an Excel file from Galaxy and open it, which
> means getting the extension right under Windows.
>
> Peter
>
___________________________________________________________
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