mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
30 lines
1.2 KiB
XML
30 lines
1.2 KiB
XML
<tool id="tool_provided_metadata_8" name="tool_provided_metadata_8" version="1.0.0" profile="17.09">
|
|
<!-- Demonstrate reverting tools with new profiles to older galaxy.json style
|
|
using provided_metadata_style attribute on outputs. -->
|
|
<command><![CDATA[
|
|
echo 'This is a line of text.' > '$out1' &&
|
|
cp '$c1' galaxy.json;
|
|
]]></command>
|
|
<configfiles>
|
|
<configfile name="c1">{"type": "dataset", "dataset_id": $out1.dataset.dataset.id, "name": "my dynamic name", "ext": "txt", "info": "my dynamic info", "dbkey": "cust1"}</configfile>
|
|
</configfiles>
|
|
<inputs>
|
|
</inputs>
|
|
<outputs provided_metadata_style="legacy">
|
|
<!-- Set format="auto" to read from galaxy.json, use auto_format="true"
|
|
to sniff. -->
|
|
<data name="out1" format="auto" />
|
|
</outputs>
|
|
<tests>
|
|
<test>
|
|
<output name="out1" file="simple_line.txt" ftype="txt">
|
|
<metadata name="name" value="my dynamic name" />
|
|
<metadata name="info" value="my dynamic info" />
|
|
<metadata name="dbkey" value="cust1" />
|
|
</output>
|
|
</test>
|
|
</tests>
|
|
<help>
|
|
</help>
|
|
</tool>
|