Thanks Peter. I see how this feature would be useful, but the program I'm
writing a wrapper for has an argument with values corresponding to the
input files. I am using a <repeat> tag to maintain this order. With the
multi-run option, files are selected in a random manner and added to the
job queue. It is best not to display the multi-run option in this case.

I see there is a TODO on this already:
https://bitbucket.org/galaxy/galaxy-dist/src/a2308bdc93b897af974766b190abe019ade49e9a/lib/galaxy/tools/parameters/basic.py?at=default#cl-2084

For now, I have set allow=False but I believe this is best set at the param
tag level:

    <param type="data" multirun="false" />


Vimal

On Wed, Jan 21, 2015 at 2:26 AM, Peter Cock <p.j.a.c...@googlemail.com>
wrote:

> I think this is the (relatively new) Galaxy ability to automatically
> run N copies of your tool given N input files, making N outputs
> and is related to the collections work.
>
> (This is possible if your tool takes a single input file)
>
> Peter
>
> On Tue, Jan 20, 2015 at 6:17 PM, Vimalkumar Velayudhan
> <vi...@biotechcoder.com> wrote:
> > Hi all,
> >
> > I am trying to create a select box with the possibility of selecting
> only a
> > single item from the input dataset (figure 1). This works fine but the
> > option for selecting multiple files is still visible (figure 2). The
> > multiple="false" attribute has no effect.
> >
> > Figure: http://i.imgur.com/oJVFCoF.png
> >
> > I have the following in my XML.
> >
> >     <param format="tabular" name="ribo_files" type="data"
> >            label="Select Ribo-Seq alignment file" multiple="false" >
> >     </param>
> >
> > Any suggestions?
> >
> > galaxy-dist revision 5f4c13d622b8
> >
> >
> > Regards,
> > Vimalkumar Velayudhan
> >
> > ___________________________________________________________
> > 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/
>
___________________________________________________________
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/

Reply via email to