diff macros.xml @ 16:f9353ee6a0d4 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 0ef475df22ba51263bb3d1db9f8797c723db35b0
author iuc
date Tue, 20 Aug 2024 09:50:17 +0000
parents 64ff3ef24fae
children 178242b82297
line wrap: on
line diff
--- a/macros.xml	Wed Jul 31 18:09:25 2024 +0000
+++ b/macros.xml	Tue Aug 20 09:50:17 2024 +0000
@@ -435,6 +435,10 @@
             </when>
             <when value="customfile">
                 <param argument="var_names" type="data" format="tabular" label="List of variables to plot" help="This should be a tsv where row = group (e.g. celltypes) and columns = variables."></param>
+                <param name="header" type="select" label="Header in the list of markers?">
+                    <option value="included">Header incldued</option>
+                    <option value="not_included">Header not included</option>
+                </param>
             </when>
         </conditional>
     </xml>
@@ -471,6 +475,12 @@
         <expand macro="param_groupby"/>
         <expand macro="param_num_categories"/>
     </xml>
+    <token name="@CMD_var_names_header_check@"><![CDATA[
+header='infer'
+#if $method.var_names.type == 'customfile' and $method.var_names.header == 'not_included' :
+header=None
+#end if
+    ]]></token>
     <token name="@CMD_params_inputs@"><![CDATA[
     #if $method.var_names.type == 'custom'
     #set $var_names = ([x.strip() for x in str($method.var_names.var_names).split(',')])