I don't believe you can, although it should be possible to extend
upload to provide that information. However, is there no header you
can use in your filetype to detect it?
James Taylor, Assistant Professor, Biology/CS, Emory University
On Mon, Feb 11, 2013 at 10:51 PM, David Angot <dav...@intersect.org.au> wrote:
> We are using a proprietary file format in some of our tools.
> I successfully added a new data type, but what I would like to do is to use
> the auto-detect when uploading the file, just based on the extension of the
> My guess is I have to override the sniff() in the datatype class, and test
> for the extension ? Somethinkg like that :
> if file.endswith('.extension123'):
> But how do I get the original filename when it was 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:
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: