mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Inspect a tool's XML file and provide advice on upgrading to new tool versions. It is implemented as a library in tool_util for integration with Planemo in the future but I've added a script here to run it on the command-line directly. It can also output in JSON for integration with external tools such as the galaxy language server.
27 lines
905 B
XML
27 lines
905 B
XML
<tool id="output_format_input" name="output_format_input" version="1.0" profile="21.01">
|
|
<!-- test format="input" for the profile version where the format is set to "input"
|
|
(for legacy tools, i.e. profile <16.04, the format of a random input is used) -->
|
|
<description></description>
|
|
<command>
|
|
cat '$input' > '$output'
|
|
</command>
|
|
<inputs>
|
|
<param format="tabular" name="input" type="data" label="Select cells from"/>
|
|
</inputs>
|
|
<outputs>
|
|
<data format="input" name="output" metadata_source="input" />
|
|
</outputs>
|
|
<tests>
|
|
<test>
|
|
<param name="input" value="simple_line.txt" ftype="txt" />
|
|
<output name="output" file="simple_line.txt" ftype="input"/>
|
|
</test>
|
|
<test>
|
|
<param name="input" value="simple_line.txt" ftype="tabular" />
|
|
<output name="output" file="simple_line.txt" ftype="input"/>
|
|
</test>
|
|
</tests>
|
|
<help>
|
|
</help>
|
|
</tool>
|