Re: [galaxy-dev] Send repeat parameter to code file for multiple select list

2016-09-13 Thread Katherine Beaulieu
If anyone was wondering, I ended up sending the name of the repeat to the function in the code file which is a list of dictionaries and in the dictionaries you have an index and the other parameters in the repeat so as long as you know the name of the parameters you are golden. On Fri, Sep 2,

Re: [galaxy-dev] Send repeat parameter to code file for multiple select list

2016-09-02 Thread Katherine Beaulieu
On Fri, Sep 2, 2016 at 9:07 PM, Katherine Beaulieu < katherine.beaulieu...@gmail.com> wrote: > Hi Bjorn, > Thank you for taking the time to reply to my question. I don't think this > quite fits what I am trying to accomplish. I am trying to pass a set of > metadata key value pairs, where the user

Re: [galaxy-dev] Send repeat parameter to code file for multiple select list

2016-09-02 Thread Björn Grüning
Hi Katherine, have a look at this one using repeats: https://github.com/bgruening/galaxytools/blob/master/tools/deseq2/deseq_helper.py Ciao, Bjoern Am 01.09.2016 um 13:58 schrieb Katherine Beaulieu: > Hello Galaxy Community, > I was wondering if anyone had ever come across a situation where

Re: [galaxy-dev] Send repeat parameter to code file for multiple select list

2016-09-01 Thread Peter Cock
Ah - I understand what you mean now. Using the code tag is discouraged, but you may find some of these examples useful for what you are trying to do: https://github.com/galaxyproject/galaxy/issues/2714 I hope that helps, Peter On Thu, Sep 1, 2016 at 2:37 PM, Katherine Beaulieu

Re: [galaxy-dev] Send repeat parameter to code file for multiple select list

2016-09-01 Thread Katherine Beaulieu
On Thu, Sep 1, 2016 at 9:36 AM, Katherine Beaulieu < katherine.beaulieu...@gmail.com> wrote: > Hi Peter, > The code file tag is generally used in populating select lists. So > basically you have a function from a code file that is loaded before > runtime of the tool and you can dynamically load

Re: [galaxy-dev] Send repeat parameter to code file for multiple select list

2016-09-01 Thread Peter Cock
I'm not quite sure what you mean by a "code file", but if you mean using the tag, here's an example: https://github.com/peterjc/galaxy_mira/blob/master/tools/mira4_0/mira4_de_novo.xml I am using a Cheetah syntax for loop to access each entry in a repeat parameter. Peter On Thu, Sep 1, 2016 at

[galaxy-dev] Send repeat parameter to code file for multiple select list

2016-09-01 Thread Katherine Beaulieu
Hello Galaxy Community, I was wondering if anyone had ever come across a situation where they have had to pass the contents of a repeat parameter to a code file in a Galaxy tool config? Is there any way to do this? Katherine ___ Please keep