changeset 5:df0c8f33c8ea draft default tip

"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/awkscript commit f32c764cdd6103703c660664266d847a78b51575"
author brinkmanlab
date Mon, 07 Dec 2020 21:25:48 +0000
parents 7966a43dbc9e
children
files awkscript.xml
diffstat 1 files changed, 5 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/awkscript.xml	Fri Nov 06 23:48:35 2020 +0000
+++ b/awkscript.xml	Mon Dec 07 21:25:48 2020 +0000
@@ -1,4 +1,4 @@
-<tool id="awkscript" name="AWK Script" version="1.0" profile="16.04">
+<tool id="awkscript" name="AWK Script" version="1.1" profile="16.04">
     <description>Transform, modify, or generate data</description>
     <edam_topics>
         <edam_topic>topic_0769</edam_topic>
@@ -35,8 +35,10 @@
                     #set $inputs = [$group.input_type_selection.infile]
                 #end if
                 #for file in $inputs
+                #if $file
                     tool_input_id='$file.element_identifier'
                     '$file'
+                #end if
                 #end for
             #end for
         > '$outfile'
@@ -49,10 +51,10 @@
             <conditional name="input_type_selection">
                 <param name="multiple" type="boolean" checked="false" label="Accept multiple" />
                 <when value="false">
-                    <param name="infile" format="txt" type="data" label="Single file to process" help="A separate execution will occur for each provided file"/>
+                    <param name="infile" format="txt" type="data" optional="true" label="Single file to process" help="A separate execution will occur for each provided file"/>
                 </when>
                 <when value="true">
-                    <param name="infile" format="txt" type="data" multiple="true" label="File or collection to process" />
+                    <param name="infile" format="txt" type="data" multiple="true" optional="true" label="File or collection to process" />
                 </when>
             </conditional>
         </repeat>