Hi Uwe,

Multiple selects for dataset inputs is not yet supported, but there is a ticket open on this issue, which you may follow if you like: https://bitbucket.org/galaxy/galaxy-central/issue/137/allow-multiple-true-in-input-param-fields We have not yet decided when-or-if we will be implementing this feature, but please feel free to add comments to the ticket. 

For now the best course of action is to use a repeat parameter.


Thanks for using Galaxy,

Dan


On Oct 21, 2011, at 5:45 AM, Appelt, Uwe wrote:

Dear all,

My tool does accept multiple input-files, but there are normally bunches of them, so the "repeat"-syntax doesn't appear to be a good idea. Inspired from the workflow-engine-capability to accept multiple input files I wanted to do the same for my tool:

<param name="inputSeqFiles" type="data" format="fasta" multiple="true" ... />

Problem:
The above "param"-syntax causes Galaxy to caugh up an error message, as soon as I indeed select multiple files. Selecting single files works well.

The, to actually access the list of selected files, I would expect the same syntax as for the "repeat"-tag case to work. What I am currently trying from within a <configfile>-section is something like this:

#for $inputSeqFile in $inputSeqFiles
...do something with $inputSeqFile
#end for

Problem:
Cheetah complains about $inputSeqFiles not being iterable.

Any suggestions or ideas/alternatives to this setting?

Thanks in advance and best regards,
Uwe

___________________________________________________________
The Galaxy User list should be used for the discussion of
Galaxy analysis and other features on the public server
at usegalaxy.org.  Please keep all replies on the list by
using "reply all" in your mail client.  For discussion of
local Galaxy instances and the Galaxy source code, please
use the Galaxy Development list:

 http://lists.bx.psu.edu/listinfo/galaxy-dev

To manage your subscriptions to this and other Galaxy lists,
please use the interface at:

 http://lists.bx.psu.edu/