Hi Bjorn,
here's what I have:

    <collection type="list" label="CrossSample on ${input.name}" name="output">
        <discover_datasets pattern="(?P&lt;name&gt;.*)" directory="crossSampleOutputs" />

I tried this among other things:

    <collection type="list" label="CrossSample on ${input.name}" name="output" format_source="input">

I'll try your example. Thank you!

On Fri, Jul 29, 2016 at 3:21 PM, Björn Grüning <bjoern.gruening@gmail.com> wrote:
Hi Cristel,

can you share some code. If you use discover_datasets like this,
format="" should indeed work.

<discover_datasets pattern=".*?\.(?P&lt;designation&gt;.*)\.sharedotus"

Another feature is that the filetype is extracted from the extension if
you use it like this:



> Hello galaxy developers,
> how do you set the format for datasets in output dataset collections? I
> looked at some xmls from John Chilton, and tried using
> format_source="input", or inherit_format="true". Those unfortunately do
> not work. I also naively tried format="txt" to no avail.
> I can't find anything in the documentation.
> Can someone point me in the right direction?
> Thanks much,
> Cris
> ___________________________________________________________
> 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:
>   https://lists.galaxyproject.org/
> To search Galaxy mailing lists use the unified search at:
>   http://galaxyproject.org/search/mailinglists/