Tool creation: how to restrict input dataset selector to appropriate file types?
Hello, I'm running in a strange issue which I cannot seem to find a solution for. In every tool I created from scratch, the input dataset selector does not only include the datasets corresponding to the file types I set in the format="" attribute in the <param> tag in my XML tool file, but instead it includes the whole history contents. I searched in the wiki's tool syntax section to no avail. I believe I stupidly missed something huge there but I'm really confused. What should I do to have the selector's contents appropriate? Here is one of the tools for which I have this issue: http://pastebin.com/XqvSwtMH Thanks, L-A
The only thing that sticks out to me is the 'export' format listed in inputs. What are the children datatypes of export, or how is that set up? The filter logic automatically includes all children datatypes of the specified formats. -Dannon On Dec 7, 2011, at 5:10 AM, Louise-Amélie Schmitt wrote:
Hello,
I'm running in a strange issue which I cannot seem to find a solution for. In every tool I created from scratch, the input dataset selector does not only include the datasets corresponding to the file types I set in the format="" attribute in the <param> tag in my XML tool file, but instead it includes the whole history contents.
I searched in the wiki's tool syntax section to no avail. I believe I stupidly missed something huge there but I'm really confused. What should I do to have the selector's contents appropriate?
Here is one of the tools for which I have this issue: http://pastebin.com/XqvSwtMH
Thanks, L-A ___________________________________________________________ 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:
Hi Dannon, and thanks for the answer. Problem solved: The Export class had somehow disappeared from the tabular.py file, most likely during a failed merge. Yeah, I indeed stupidly missed something huge... Sorry for wasting your time! Best, L-A Le 07/12/2011 12:35, Dannon Baker a écrit :
The only thing that sticks out to me is the 'export' format listed in inputs. What are the children datatypes of export, or how is that set up? The filter logic automatically includes all children datatypes of the specified formats.
-Dannon
On Dec 7, 2011, at 5:10 AM, Louise-Amélie Schmitt wrote:
Hello,
I'm running in a strange issue which I cannot seem to find a solution for. In every tool I created from scratch, the input dataset selector does not only include the datasets corresponding to the file types I set in the format="" attribute in the<param> tag in my XML tool file, but instead it includes the whole history contents.
I searched in the wiki's tool syntax section to no avail. I believe I stupidly missed something huge there but I'm really confused. What should I do to have the selector's contents appropriate?
Here is one of the tools for which I have this issue: http://pastebin.com/XqvSwtMH
Thanks, L-A ___________________________________________________________ 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:
participants (2)
-
Dannon Baker
-
Louise-Amélie Schmitt