mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
- Add an API test for datatype-defined composite uploads - including exercising newline conversion and the space_to_tab parameter. - Add a test decorator skip_without_datatype to mirror skip_without_tool for this test, improve both decorators. - The ftype parameter in the composite test tools does nothing - drop it and drop it from the XSD spec. - Slightly improve the documentation for these composite_data elements in the XSD.
30 lines
1.3 KiB
XML
30 lines
1.3 KiB
XML
<tool id="metadata" name="metadata" version="1.0.0">
|
|
<command>mkdir $output_copy_of_input.extra_files_path; cp $input.extra_files_path/* $output_copy_of_input.extra_files_path; echo "$input.metadata.base_name" > $output_of_input_metadata</command>
|
|
<inputs>
|
|
<param name="input" type="data" format="velvet" label="Velvet Dataset" help="Prepared by velveth."/>
|
|
</inputs>
|
|
<outputs>
|
|
<data format="txt" name="output_of_input_metadata" />
|
|
<data format="velvet" name="output_copy_of_input" />
|
|
</outputs>
|
|
<tests>
|
|
<test>
|
|
<param name="input" value="velveth_test1/output.html" ftype="velvet" >
|
|
<composite_data value="velveth_test1/Sequences" />
|
|
<composite_data value="velveth_test1/Roadmaps" />
|
|
<composite_data value="velveth_test1/Log"/>
|
|
<metadata name="base_name" value="Example Metadata" />
|
|
</param>
|
|
<!-- This ouptut tests setting input metadata above -->
|
|
<output name="output_of_input_metadata" ftype="txt">
|
|
<assert_contents>
|
|
<has_line line="Example Metadata" />
|
|
</assert_contents>
|
|
</output>
|
|
<!-- This output tests an assertion about output metadata -->
|
|
<output name="output_copy_of_input" file="velveth_test1/output.html">
|
|
<metadata name="base_name" value="velvet" />
|
|
</output>
|
|
</test>
|
|
</tests></tool>
|