mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Before it would just die with an unhelpful server side exception - now it attempts to build, validate, and use a useful set of columns.
24 lines
657 B
XML
24 lines
657 B
XML
<tool id="column_param" name="Column Param">
|
|
<command>
|
|
cut -f '$col' '$input1' > 'col_output'
|
|
</command>
|
|
<inputs>
|
|
<param type="data" format="tabular" name="input1" label="Input 1" />
|
|
<param name="col" type="data_column" data_ref="input1" label="Column to Use" />
|
|
</inputs>
|
|
<outputs>
|
|
<data name="output1" type="tabular" from_work_dir="col_output" />
|
|
</outputs>
|
|
<tests>
|
|
<test>
|
|
<param name="input1" value="2.tabular" />
|
|
<param name="col" value="2" />
|
|
<output name="output1">
|
|
<assert_contents>
|
|
<has_line line="68" />
|
|
</assert_contents>
|
|
</output>
|
|
</test>
|
|
</tests>
|
|
</tool>
|