diff macros.xml @ 19:4338bf96809e draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 0f11c0478793eaafc7d3bd2e7916ee546528b45f
author iuc
date Thu, 03 Oct 2024 22:44:00 +0000
parents d1cd8c147809
children d86cb2ce311b
line wrap: on
line diff
--- a/macros.xml	Thu Sep 19 06:43:47 2024 +0000
+++ b/macros.xml	Thu Oct 03 22:44:00 2024 +0000
@@ -1,6 +1,6 @@
 <macros>
     <token name="@TOOL_VERSION@">1.10.2</token>
-    <token name="@VERSION_SUFFIX@">0</token>
+    <token name="@VERSION_SUFFIX@">1</token>
     <token name="@PROFILE@">21.09</token>
     <xml name="requirements">
         <requirements>
@@ -10,6 +10,7 @@
             <requirement type="package" version="2.2.2">pandas</requirement>
             <requirement type="package" version="1.14.1">scipy</requirement>
             <requirement type="package" version="0.14.2">statsmodels</requirement>
+            <requirement type="package" version="0.3.5">fa2</requirement>
             <yield />
         </requirements>
     </xml>
@@ -587,7 +588,7 @@
     ]]>
     </token>
     <token name="@CMD_SHOW_NONE@"><![CDATA[
-        show=None
+    show=None
         ]]>
     </token>
     <token name="@CMD_VAR_NAMES_HEADER_CHECK@"><![CDATA[
@@ -1197,14 +1198,13 @@
     </xml>
     <xml name="params_pl_paga">
         <param argument="threshold" type="float" min="0" value="" optional="true" label="Threshold to draw edges" help="Do not draw edges for weights below this threshold. Set to 0 if you want all edges. Discarding low-connectivity edges helps in getting a much clearer picture of the graph."/>
-        <expand macro="param_groups"/>
+        <param argument="labels" type="text" value="" optional="true" label="The node labels" help="This defaults to the group labels stored in the categorical for which paga() has been computed">
+            <expand macro="sanitize_query"/>
+        </param>
         <param argument="color" type="text" value="" label="The node colors" help="Gene name or obs. annotation, and also plots the degree of the abstracted graph when passing 'degree_dashed', 'degree_solid'.">
             <expand macro="sanitize_query"/>
         </param>
         <param argument="pos" type="data" format="tabular,csv,tsv" optional="true" label="Two-column tabular file storing the x and y coordinates for drawing"/>
-        <param argument="labels" type="text" value="" label="Comma-separated node labels" help="If none is provided, this defaults to the group labels stored in the categorical for which 'tl.paga' has been computed.">
-            <expand macro="sanitize_query"/>
-        </param>
         <expand macro="param_layout"/>
         <param argument="init_pos" type="data" format="tabular,csv,tsv" optional="true" label="Two-column tabular file storing the x and y coordinates for initializing the layout"/>
         <param argument="random_state" type="integer" value="0" label="For layouts with random initialization like 'fr', change this to use different intial states for the optimization. If 'None', the initial state is not reproducible."/>
@@ -1237,9 +1237,9 @@
         #if str($method.threshold) != '':
     threshold=$method.threshold,
         #end if
-        #if str($method.groups) != '':
-            #set $groups=([x.strip() for x in str($method.groups).split(',')])
-    groups=$groups,
+        #if str($method.labels) != '':
+            #set $labels=([x.strip() for x in str($method.labels).split(',')])
+    labels=$labels,
         #end if
         #if str($method.color) != '':
             #set $color=([x.strip() for x in str($method.color).split(',')])
@@ -1248,10 +1248,6 @@
         #if $method.pos:
     pos=np.fromfile($method.pos, dtype=dt),
         #end if
-        #if str($method.labels) != '':
-            #set $labels=([x.strip() for x in str($method.labels).split(',')])
-    labels=$labels,
-        #end if
     layout='$method.layout',
         #if $method.init_pos:
     init_pos=np.fromfile($method.init_pos, dtype=dt),
@@ -1269,7 +1265,9 @@
     dashed_edges='$method.dashed_edges',
         #end if
     single_component=$method.single_component,
+        #if str($method.fontsize) != '':
     fontsize=$method.fontsize,
+        #end if
     node_size_scale=$method.node_size_scale,
     node_size_power=$method.node_size_power,
     edge_width_scale=$method.edge_width_scale,