mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-08-29 02:26:59 +08:00
Test dumping multiple="false" data_column param as json
Tests https://github.com/galaxyproject/galaxy/pull/6389
This commit is contained in:
@@ -0,0 +1 @@
|
||||
1 2 3 4 5 6 7 8 9 10 11
|
||||
@@ -0,0 +1 @@
|
||||
{"col": [11]}
|
||||
@@ -0,0 +1,22 @@
|
||||
<tool id="column_param_configfile" name="Column Param into configfile" >
|
||||
<command>
|
||||
cat '$inputs' > '$output1'
|
||||
</command>
|
||||
<configfiles>
|
||||
<inputs name="inputs" />
|
||||
</configfiles>
|
||||
<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" format="data" />
|
||||
</outputs>
|
||||
<tests>
|
||||
<test>
|
||||
<param name="input1" value="11.tabular" />
|
||||
<param name="col" value="11" />
|
||||
<output name="output1" file="configfile.json"/>
|
||||
</test>
|
||||
</tests>
|
||||
</tool>
|
||||
@@ -83,6 +83,7 @@
|
||||
<tool file="paths_as_file.xml" />
|
||||
<tool file="param_text_option.xml" />
|
||||
<tool file="column_param.xml" />
|
||||
<tool file="column_param_configfile.xml" />
|
||||
<tool file="column_multi_param.xml" />
|
||||
<tool file="special_params.xml" />
|
||||
<tool file="section.xml" />
|
||||
|
||||
Reference in New Issue
Block a user