On Fri, Jan 31, 2014 at 10:52 AM, Geert Vandeweyer
<geert.vandewey...@uantwerpen.be> wrote:
> Hi,
>
> I'm looking for the correct syntax to achieve the following:
>
> <data type="data" format="txt" name="loh" label="${tool.name} result on
> ${on_string} (loh) " >
>         <filter>outtype == "0" || outttype == "2" </filter>
> </data>
> <data type="data" format="txt" name="cnv" label="${tool.name} result on
> ${on_string} (loh) " >
>         <filter>outtype == "1" || outttype == "2" </filter>
> </data>
>
> I tried the above, with and without parentheses, but it creates the second
> dataset also when outtype == 0. Is this type of dual filtering possible?

Rather than the logical or, have you tried outtype != "1", and outtype
!= "0" instead?

(I am assuming there are only three values for outtype, 0, 1 and 2.)

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/

To search Galaxy mailing lists use the unified search at:
  http://galaxyproject.org/search/mailinglists/

Reply via email to