Hey Peter, I wonder if it is better to ask the user what type they would like to select and then have the input param inside the conditional. My concern about you approach is who it would interplay with workflows. Say you build a workflow that processes XML files with one input, say an XML file. If that input param had let you select multiple formats (format="tabular,xml"), then I believe the workflow input will as well even though the options as well, even though the workflow would not be valid for the other types.
-John On Fri, Mar 15, 2013 at 9:43 AM, Peter Cock <p.j.a.c...@googlemail.com> wrote: > On Wed, Apr 18, 2012 at 12:01 PM, Peter Cock <p.j.a.c...@googlemail.com> > wrote: >> Dear all, >> >> I've looked over the wiki and as far as I can see, 'when' tags used inside >> 'conditional' tags only work on another input variable's values. >> >> I would like to be able to do is a conditional based on the file format >> of an input file. For instance, a tool might take XML or tabular files, >> and need to show additional parameters for one input type but not the >> other. >> >> Does this enhancement idea seem useful? >> >> Peter > > Hello again, > > I'd still like to be able to show different tool parameters for different > input file formats - is anyone else interested in using or working on > this? > > Thanks, > > 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/ ___________________________________________________________ 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/