Hi Peter, The test framework could use a bit of work, and better handling of grouping-style parameters (such as repeats) is one significant area needing improvement. The refinements you suggest, hiding add/remove buttons when not applicable, would be good improvements, but I don't know that anyone has plans to address these in the near future. Unfortunately, there is not a way to get the repeat number and dynamically substitute in as a portion of a text parameter's value, but this would be a nice feature to have available. Thanks for using Galaxy, Dan On Apr 19, 2011, at 9:59 AM, Peter Cock wrote:
On Tue, Apr 19, 2011 at 2:23 PM, Peter Cock <p.j.a.cock@googlemail.com> wrote:
What I need to work out now is how to use repeat parameters in the unit tests. There seems to be examples in tools/mutation/visualize.xml and tools/plotting/xy_plot.xml which only use the first repeat...
I've tried to skim all the provided tool XML files using <repeat> and looked at their <test> entries. It looks like only a single repeat parameter is being used in the tests currently.
The commented out <repeat> tags in tools/sr_assembly/velveth.xml suggest repeat parameters don't work properly in <test> yet.
The comments in samtools/sam_merge.xml also suggest that (when written), the test framework didn't handle <repeat> tags properly.
See also: https://bitbucket.org/galaxy/galaxy-central/issue/175/
Peter