[galaxy-dev] Tool development - Selecting a single item from input dataset.

2015-01-20 Thread Vimalkumar Velayudhan
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.




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/

Re: [galaxy-dev] Tool development - Selecting a single item from input dataset.

2015-01-20 Thread Peter Cock
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
 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.
>
> label="Select Ribo-Seq alignment file" multiple="false" >
> 
>
> 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/

Re: [galaxy-dev] Tool development - Selecting a single item from input dataset.

2015-01-22 Thread Vimalkumar Velayudhan
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  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:




Vimal

On Wed, Jan 21, 2015 at 2:26 AM, Peter Cock 
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
>  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.
> >
> >  >label="Select Ribo-Seq alignment file" multiple="false" >
> > 
> >
> > 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/

Re: [galaxy-dev] Tool development - Selecting a single item from input dataset.

2015-01-26 Thread John Chilton
I have created a Trello card to track this request here
https://trello.com/c/qCtBBB8n.

Any chance you can share the tool with me? I understand that this
instinct is too simplistic - but it seems to me like the option to
repeatedly run a tool over many datasets should not be the concern of
the tool author - it is a user concern. If we add the option - perhaps
we could stipulate that it requests some other parameter to dependent
on it (I assume you have a dependent parameter in the repeat?).

-John

On Thu, Jan 22, 2015 at 5:50 AM, Vimalkumar Velayudhan
 wrote:
> 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  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:
>
> 
>
>
> Vimal
>
> On Wed, Jan 21, 2015 at 2:26 AM, Peter Cock 
> 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
>>  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.
>> >
>> > > >label="Select Ribo-Seq alignment file" multiple="false" >
>> > 
>> >
>> > 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/
___
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/