Hi,

something like that is also possible:

        ((
          params['settingsType'] == "custom" and
          params['unmapped_read_file'] is True
        ))

So I assume:

outtype == "0" or outtype == "2"

will also work.
Cheers,
Bjoern



2014-01-31 Geert Vandeweyer <geert.vandeweyer2@uantwerpen.be>:
Hi,

Thanks for the quick suggestions.

The typo didn't exists in the original code, so that didn't solve it unfortunately. I fixed it for now by using the negative filter (!=), suggested by Peter.

Best,

Geert


On 01/31/2014 12:09 PM, Nicola Soranzo wrote:
Il 2014-01-31 11:52 Geert Vandeweyer ha scritto:
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?

I don't know if this is the reason, but you seem to have a typo:

outttype == "2"

should be

outtype == "2"

Best,
Nicola
___________________________________________________________
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/


--

Geert Vandeweyer, Ph.D.
Department of Medical Genetics
University of Antwerp
Prins Boudewijnlaan 43
2650 Edegem
Belgium
Tel: +32 (0)3 275 97 56
E-mail: geert.vandeweyer@ua.ac.be
http://ua.ac.be/cognitivegenetics
http://www.linkedin.com/in/geertvandeweyer

___________________________________________________________
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/