mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
For instance, fixes #3859 restoring the correct ``element_identifier`` for reduces collections in conditionals. Add tests for combinations of repeats and conditionals.
28 lines
871 B
XML
28 lines
871 B
XML
<tool id="identifier_multiple_in_repeat" name="identifier_multiple_in_repeat">
|
|
<command><![CDATA[
|
|
#for $repeat_instance in $the_repeat#
|
|
#for $input in $repeat_instance.the_data.input1#
|
|
echo '$input.element_identifier' >> 'output1';
|
|
#end for#
|
|
#end for#
|
|
]]></command>
|
|
<inputs>
|
|
<repeat name="the_repeat" title="Repeat Inputs">
|
|
<conditional name="the_data">
|
|
<param name="cond_param" type="boolean" />
|
|
<when value="true">
|
|
<param type="data" name="input1" label="True Input" multiple="true" />
|
|
</when>
|
|
<when value="false">
|
|
<param type="data" name="input1" label="False Input" multiple="true" />
|
|
</when>
|
|
</conditional>
|
|
</repeat>
|
|
</inputs>
|
|
<outputs>
|
|
<data name="output1" format="tabular" from_work_dir="output1" />
|
|
</outputs>
|
|
<tests>
|
|
</tests>
|
|
</tool>
|