Default values for repeat sections
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 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. 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? Cheers, Eric Rasche -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iQIcBAEBAgAGBQJSXgHgAAoJEMqDXdrsMcpVxUIQAM3UC3CZl//N47YPm+/Y5OVm Im2A9Y784rf6nk8Guq0wz4UOMSvnpgJnjlDew49Ly6UGgTdpZqBlbv+o0VQlk/Zz zs90TLVwQ8SMt5x4cSrEF8CJY7y4MlUDCxlaqSeGxmrH7FV3Ph+aRyfhsm32JJx0 duasl4WlJb3jtsBUhMBEQksuhIXTz8SgI0pfTnZ/EIp9ryWNRJiOqeLvCoHq0eNT othEkHmQn7G/o303fPGOcjpkM7SI+uFDtJLowSYBQeds+nIq9iYgcqeEBe7SmsUJ o9Fl4/duQ5aztx5Mg858U4y3lWRJoMwK9MxUqii9zacyepWMCrDFo7ZSyBgik5q8 RXgzr/ehifbMfPH04VaOI2rVtmQVlEQUVhok6JnG92V/Pu1tvZr9PQs5csNVl+ov 2xerZjKeUILeMkP2uOwCm4kPVlVwBW0mOMaSPEUQyFdsz/0HKV3h7RDLB7YFDcc8 DxIeHBY3mvBCd30RcniN42HZUes0bq+cg5eFej9zEwZxEinQKzEWRQFtCR+Mt+z9 4mBUE2gDO5OVL+m6iIt+k8lMevKx3cHom9say+jTNKiK1zbXfwqTda4vYYKxfQY8 1Nv/XPs1bIoFPFJJJIkQALeweENsjZ6iY0aJ5kGR4ZLRAMXVt34g5+r2PmXiphbT eZvA/INKRhwwiPBUf3Hg =RJCY -----END PGP SIGNATURE-----
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?
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"> 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/
-----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-----
Am Mittwoch, den 16.10.2013, 01:41 -0500 schrieb Eric Rasche:
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.
Ah ok got it, its to early here and no coffee until now ;) Unfortunately, I don't think such things are possible for now. Maybe someone else has an Idea. Just as a side note, I guess you are developing a visualization tool: Did you consider to use the new awesome galaxy visualization infrastructure? http://wiki.galaxyproject.org/VisualizationsRegistry Cheers, Bjoern
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 SIGNED MESSAGE----- Hash: SHA1 On 10/16/2013 01:51 AM, Bjoern Gruening wrote:
Am Mittwoch, den 16.10.2013, 01:41 -0500 schrieb Eric Rasche:
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.
Ah ok got it, its to early here and no coffee until now ;) Unfortunately, I don't think such things are possible for now. Maybe someone else has an Idea.
Just as a side note, I guess you are developing a visualization tool: Did you consider to use the new awesome galaxy visualization infrastructure?
http://wiki.galaxyproject.org/VisualizationsRegistry
Cheers, Bjoern
Ok, no worries. Hopefully someone will have some idea, or if not I'm sure someone can add that to the galaxy trello. I had not considered using the visualisation infrastructure. I was only vaguely aware that existed (when one of my datasets somehow decided it could be plotted as a scatter plot), and certainly not where to look for it. Thank you for that link, that'll be very helpful! Cheers, Eric
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 v1.4.11 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBAgAGBQJSXuYcAAoJEMqDXdrsMcpVQJwP/1e9Zq9EqFzQIDp5NUjO5iHK lS3+46Kzhz+xX5tOEumMPTotqzDoXnA3dQM/yHlmDr/RN4v7o2zTztpDy2F6DpyZ pkY58VwPOrOW71CNJhjnhAQZYYC4ZBve8G/vsl7WDLH82SWircc3OM0xeG+GNhc2 oq/b6iA49yacIiBKmMKAQNvrunvv9lzJBe17au/aQMcNjeot68nIEdZPfUWv1vRz UA/VfxlxHCVWi0gkA7VZHr9BVO0emkg7oznlSdSUvyKLp51ifBV7USMnp3aDnEXA ONZjRQLAghO2EN6Vn7N+pz3qMEGE8+jcnfwJ+YG3SjbA8iTV1DbYS9+tSjttEEB9 gPpn582QMaLdyfPUMOsfpldspti6c54Y64cMf6PsQ4Y5Qhue58ZbUXVkiimUETlo PPFuo77bdg45nGue0tcLnGpbXL9AmY1p3T//gxT1vpX1LYaypI+f3nY8rKDfjZzS 4BOQqrhqhU606TEPnVZwgxoSfLZHk10hBfur8hq6sQFK6IsO2IlsI2qi9wUcyy+7 kf97rCv9d/GYtgt/fHlNZscA6tWJ6i8YOpntpLHsOoK2XiJBxqFpXFX6ZBKbsman kFMvLTE7CPWQywmHML40xLq8e29GcApfoTraJIbsd975jRZIpD2RSFT7xtA3I+/g /Ck/aR3i0g/wCbHDq2YF =V2al -----END PGP SIGNATURE-----
participants (2)
-
Bjoern Gruening
-
Eric Rasche