[galaxy-dev] Upload file : auto-detect based on file extension ?

2013-02-11 Thread David Angot
Hi, 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

[galaxy-dev] Include some XML in configfiles tag

2013-03-07 Thread David Angot
Hello, I have a tool that takes an XML file as input. So I thought it would be a good idea to put it in the configfiles tag, to replace some of the variables. Quick example : inputs param name=posfile type=data label=Posfile help=Posfile you want to input to POSGEN format=pos /