-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Bjoern,

On 10/16/2013 01:26 AM, Bjoern Gruening wrote:
> Hi Eric,
> 
>> Hello all,
>>
>> I've been digging through the available galaxy tool config files and
>> have been unable to find a solution, so I bring my problem to you.
>>
>> I have the following (pretty generic) repeat section in a tool config
>> I'm working on
>>
>> <repeat min="1" name="rpt_0" title="Colour Group">
>>         <param value="EDHK" name="match" optional="False" type="text"
>> label="String of letters that should be matched " />
>>         <param value="red" name="fg" optional="False" type="text"
>> label="Foreground colour for a group " />
>>         <param value="blue" name="bg" optional="False" type="text"
>> label="Background colour for a group " />
>>  </repeat>
>>
>> However, for this particular tool, the default ought to be the repeat
>> section three times, with different defaults each time.
> 
> What means different default each time?

Yes, a different set of default values in each parameter of the three
repeats.

I.e., the first instance of a repeat might have a "fg" value of "red",
the second would have an fg value of green, etc.

> 
>> Is there any way to specify a repeat section, with a default of being
>> repeated N times with an appropriate number of defaults set for each repeat?
> 
> Try:
> <repeat min="N" name="rpt_0" title="Colour Group"> for example
> 
> <repeat min="3" name="rpt_0" title="Colour Group">

Well, for my case I would like our end users to be able to specify less
than three, so I did wish to have a minimum of one. I just would like
the parameter to show up on the user interface a default of 3 times with
the different each time.

> 
> Cheers,
> Bjoern
> 
>> Cheers,
>> Eric Rasche
>> ___________________________________________________________
>> 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:
>>   http://lists.bx.psu.edu/
>>
>> To search Galaxy mailing lists use the unified search at:
>>   http://galaxyproject.org/search/mailinglists/
> 
> 
> 

Cheers,
Eric
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)

iQIcBAEBAgAGBQJSXjT/AAoJEMqDXdrsMcpVDA0P/iuRwTfxamKgUICvD/jnaUUv
Ewn+l8N4BOaCgjZx603UZt15jo+CJ/MgQby6sAsCQKqnmqm8s957gA668WsjZcyV
cWkuIr9gob4/c4dsQBTbZeD/wOaa5xkj8sZ69AV+AicYHWahr+vfGegVPm2HOzy6
7GijiP1fT+rxtnW61OBfAQWn58glZZxb3JRzjw6FTTmyqsqW3OMcSrVRsOSB8sCY
Ju9cs/Vs299reS3Mh9uCqRMHB1nERMrgB1gd/Zb5ZDGpaxnV7ZhoW7yr//xRw7PE
FQQaY4otiy4y22Fw4KC1ANeq/U08PRb7/3KTxlrtJAZNvXFCkpOhtYO39JQPfxjk
17W1g3stpiz2hngEMdGPL7S2LxQyAUy14LoOVBMzwT7oUvmMbrJAj97B0gyVFCzY
8LIXm/tBT7RChl1nb0Ys38sk6YJvHLwaGWqwPRtlQ2nyymhFxtlq4yfHWOHPfrYB
et/yzdyQizudx9UecdaSzrlyyiifVUkynwVvoKttSnfcZnzyq+tfE+4kSk67/kmQ
2qKoHYwIEiVICv/pS73LUl6Dr4TcQSj+fMdD/SI/3qZH4bhFETpbB5NWNnICcrqd
LRz0lUu96m/NjkfHKudKyTAPyxGvfcBU36FrLhsl77zE8NYaZwsFCOt1jzy224wp
pZkEZ/Tg1ef0/04UduiT
=iPd8
-----END PGP SIGNATURE-----
___________________________________________________________
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:
  http://lists.bx.psu.edu/

To search Galaxy mailing lists use the unified search at:
  http://galaxyproject.org/search/mailinglists/

Reply via email to