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 file.

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:


Reply via email to