mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-10-24 12:13:33 +08:00
36 lines
1.1 KiB
XML
36 lines
1.1 KiB
XML
<tool id="tool_provided_metadata_9" name="tool_provided_metadata_9" profile="17.09" version="1.0.0">
|
|
<!-- Demonstrate overriding the location of the tool provided metadata file to
|
|
be something other than galaxy.json. -->
|
|
<command>
|
|
echo "This is a line of text." > $out1;
|
|
cp $c1 not_galaxy.json;
|
|
</command>
|
|
<configfiles>
|
|
<configfile name="c1">{"out1": {
|
|
"name": "my dynamic name",
|
|
"ext": "txt",
|
|
"info": "my dynamic info",
|
|
"dbkey": "cust1"
|
|
}}
|
|
</configfile>
|
|
</configfiles>
|
|
<inputs>
|
|
<param name="input1" type="data" label="Input Dataset"/>
|
|
</inputs>
|
|
<outputs provided_metadata_file="not_galaxy.json">
|
|
<data name="out1" format="auto" />
|
|
</outputs>
|
|
<help>
|
|
</help>
|
|
<tests>
|
|
<test>
|
|
<param name="input1" value="simple_line.txt" />
|
|
<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>
|
|
</tool>
|