Files
galaxy/test/functional/tools/cache_dunder_section.xml
mvdbeek 95ff255620 Test job cache with data inputs in double-underscore sections
The relaxed lookup dropped every __-prefixed parameter, so a dataset
connected inside such a section was not part of the search and a run on
a different dataset reused the earlier job.
2026-11-03 15:16:05 +01:00

18 lines
653 B
XML

<tool id="cache_dunder_section" name="Cache dunder section" version="1.0">
<command><![CDATA[
echo '$__q2galaxy__GUI__section__extra_opts__.value' > '$output'
#if $__q2galaxy__GUI__section__extra_opts__.input1
&& cat '$__q2galaxy__GUI__section__extra_opts__.input1' >> '$output'
#end if
]]></command>
<inputs>
<section name="__q2galaxy__GUI__section__extra_opts__" title="Options">
<param name="value" type="integer" value="1" />
<param name="input1" type="data" format="txt" optional="true" />
</section>
</inputs>
<outputs>
<data name="output" format="txt" />
</outputs>
</tool>