changeset 1:d3c07d270a50 draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/collection_element_identifiers commit 499e43875e82f64ed046fb85ee6f8ae7e5f3673f
author iuc
date Mon, 01 Apr 2019 12:06:57 -0400
parents 220ee3518f19
children
files collection_element_identifiers.xml test-data/output.txt test-data/output_1.txt test-data/output_2.txt
diffstat 4 files changed, 27 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/collection_element_identifiers.xml	Fri Jun 15 04:55:24 2018 -0400
+++ b/collection_element_identifiers.xml	Mon Apr 01 12:06:57 2019 -0400
@@ -1,4 +1,4 @@
-<tool id="collection_element_identifiers" name="Extract element identifiers" version="0.0.1">
+<tool id="collection_element_identifiers" name="Extract element identifiers" version="0.0.2">
     <description>of a list collection</description>
     <requirements>
     </requirements>
@@ -12,7 +12,7 @@
 #end for</configfile>
     </configfiles>
     <inputs>
-        <param name="input_collection" type="data_collection" collection_type="list" label="Dataset collection"/>
+        <param name="input_collection" type="data_collection" collection_type="list,list:paired" label="Dataset collection"/>
     </inputs>
     <outputs>
         <data name="output" format="txt" />
@@ -26,7 +26,26 @@
                     <element name="e3" value="simple_line.txt" />
                 </collection>
             </param>
-            <output name="output" file="output.txt" />
+            <output name="output" file="output_1.txt" />
+        </test>
+        <test>
+            <param name="input_collection">    
+                <collection type="list:paired">
+                    <element name="pair1">
+                        <collection type="paired">
+                            <element name="forward" value="simple_line.txt" />
+                            <element name="reverse" value="simple_line.txt" />
+                        </collection>
+                    </element>
+                    <element name="pair2">
+                        <collection type="paired">
+                            <element name="forward" value="simple_line.txt" />
+                            <element name="reverse" value="simple_line.txt" />
+                        </collection>
+                    </element>
+                </collection>
+            </param>
+            <output name="output" file="output_2.txt"/>
         </test>
     </tests>
     <help><![CDATA[
--- a/test-data/output.txt	Fri Jun 15 04:55:24 2018 -0400
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-e1
-e2
-e3
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/output_1.txt	Mon Apr 01 12:06:57 2019 -0400
@@ -0,0 +1,3 @@
+e1
+e2
+e3
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/output_2.txt	Mon Apr 01 12:06:57 2019 -0400
@@ -0,0 +1,2 @@
+pair1
+pair2