comparison list_elements.xml @ 1:1c908001bfcd draft default tip

planemo upload
author sanbi-uwc
date Mon, 11 Jul 2022 15:11:13 +0000
parents 6947d02e946b
children
comparison
equal deleted inserted replaced
0:6947d02e946b 1:1c908001bfcd
1 <tool id="list_elements" name="List elements of collection" version="0.1.0+galaxy0" profile="21.05"> 1 <tool id="list_elements" name="List elements of collection" version="0.2.0+galaxy0" profile="21.05">
2 <requirements> 2 <requirements>
3 </requirements> 3 </requirements>
4 <command detect_errors="exit_code"><![CDATA[ 4 <command detect_errors="exit_code"><![CDATA[
5 #set $last_element = len(list($coll)) - 1 5 #set $last_element = len(list($coll)) - 1
6 #for $i, $element in enumerate($coll) 6 #for $i, $element in enumerate($coll)
9 && 9 &&
10 #end if 10 #end if
11 #end for 11 #end for
12 ]]></command> 12 ]]></command>
13 <inputs> 13 <inputs>
14 <param name="coll" type="data_collection" collection_type="list" label="Dataset collection"/> 14 <param name="coll" type="data_collection" collection_type="list:list" label="Dataset collection"/>
15 </inputs> 15 </inputs>
16 <outputs> 16 <outputs>
17 <data name="output1" format="txt" label="Collection names ${on_string}" /> 17 <data name="output1" format="txt" label="Collection names ${on_string}" />
18 </outputs> 18 </outputs>
19 <tests> 19 <tests>