diff obistat.xml @ 5:ce8fe725383f draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/obitools commit a01e3c562cf5d62af522b893a25abde6476a1f45
author iuc
date Thu, 30 Oct 2025 16:02:31 +0000
parents 05619490a210
children
line wrap: on
line diff
--- a/obistat.xml	Wed Sep 01 07:51:23 2021 +0000
+++ b/obistat.xml	Thu Oct 30 16:02:31 2025 +0000
@@ -1,9 +1,9 @@
 <tool id="obi_stat" name="obistat" version="@TOOL_VERSION@" profile="@PROFILE@">
     <description>computes basic statistics for attribute values</description>
-    <expand macro="bio_tools"/>
     <macros>
         <import>macros.xml</import>
     </macros>
+    <expand macro="bio_tools"/>
     <expand macro="requirements"/>
     <expand macro="stdio"/>
     <command><![CDATA[
@@ -41,39 +41,39 @@
         input > '$output'
     ]]></command>
     <inputs>
-        <param name="input" type="data" format="@INPUT_FORMATS@" label="Input sequences file" />
+        <param name="input" type="data" format="@INPUT_FORMATS@" label="Input sequences file"/>
         <repeat name="catattributes" title="Category attribute" min="0">
             <conditional name="options_attributespe">
-                <param name="options_attributespe_selector" type="select" label="How would you specify the category attribute key?" >
+                <param name="options_attributespe_selector" type="select" label="How would you specify the category attribute key?">
                     <option value="key" selected="true">simply by a key of an attribute</option>
                     <option value="python">by a python expression</option>
                 </param>
                 <when value="python">
-                    <param name="attribute" type="text" label="Regular expression pattern matched against the attributes of the sequence record. the value of this attribute is of the form : key:regular_pattern. The pattern is case sensitive." >
+                    <param name="attribute" type="text" label="Regular expression pattern matched against the attributes of the sequence record. the value of this attribute is of the form : key:regular_pattern. The pattern is case sensitive.">
                         <expand macro="sanitizer"/>
                     </param>
                 </when>
                 <when value="key">
-                    <param name="options_catattribute_selector" type="select" label="Attribute used to categorize the sequence records" >
+                    <param name="options_catattribute_selector" type="select" label="Attribute used to categorize the sequence records">
                         <expand macro="attributes"/>
                     </param>
                 </when>
             </conditional>
         </repeat>
         <conditional name="options_attribute">
-            <param name="options_attributebe_selector" type="select" label="Use a specific option" >
+            <param name="options_attributebe_selector" type="select" label="Use a specific option">
                 <option value="None" selected="true">no</option>
                 <option value="yes">yes</option>
             </param>
             <when value="yes">
-                <param name="options_attribute_selector" type="select" label="Select your specific option" >
+                <param name="options_attribute_selector" type="select" label="Select your specific option">
                     <option value="min" selected="true">min</option>
                     <option value="max">max</option>
                     <option value="mean">mean</option>
                     <option value="variance">variance</option>
                     <option value="std">standard deviation</option>
                 </param>
-                <param name="options_uniq_selector" type="select" label="Attribute to merge" >
+                <param name="options_uniq_selector" type="select" label="Attribute to merge">
                     <expand macro="attributes"/>
                 </param>
             </when>
@@ -85,7 +85,7 @@
         <data format="txt" name="output"/>
     </outputs>
     <tests>
-        <test>
+        <test expect_num_outputs="1">
             <param name="input" value="output_obiannotate.fasta" ftype="fasta"/>
             <conditional name="catattributes_0|options_attributespe">
                 <param name="options_attributespe_selector" value="key"/>
@@ -102,7 +102,7 @@
             </conditional>
             <output name="output" file="output_obistat.txt" ftype="txt" sort="True"/>
         </test>
-        <test>
+        <test expect_num_outputs="1">
             <param name="input" value="output_obiannotate.fasta.gz" ftype="fasta.gz" />
             <conditional name="catattributes_0|options_attributespe">
                 <param name="options_attributespe_selector" value="key"/>