diff macros.xml @ 4:cbfa52c8f1ef draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hamronization commit b49fc153425676a82e77dec090676403112bcbe6
author iuc
date Tue, 05 Mar 2024 19:47:12 +0000
parents e13b801516dd
children
line wrap: on
line diff
--- a/macros.xml	Fri Feb 09 21:27:18 2024 +0000
+++ b/macros.xml	Tue Mar 05 19:47:12 2024 +0000
@@ -1,6 +1,6 @@
 <macros>
-    <token name="@TOOL_VERSION@">1.0.3</token>
-    <token name="@PROFILE@">20.05</token>
+    <token name="@TOOL_VERSION@">1.1.4</token>
+    <token name="@PROFILE@">23.1</token>
     <xml name="bio_tools">
         <xrefs>
             <xref type="bio.tools">hamronization</xref>
@@ -11,20 +11,36 @@
             <requirement type="package" version="@TOOL_VERSION@">hamronization</requirement>
         </requirements>
     </xml>
-    <xml name="input_file_name">
-        <param name="input_file_name" type="text" label="Input file name" help="Sample name which was scanned with the tool"></param>
+    <xml name="version_command">
+        <version_command>hamronize --version</version_command>
+    </xml>
+    <xml name="report" token_format="tabular" token_label="Report" >
+        <param argument="report" type="data" format="@FORMAT@" label="@LABEL@"/>
     </xml>
-    <xml name="reference_database_id">
-        <param name="reference_database_id" type="text" label="Reference database ID" help="String containing the reference_database_id of this tool"></param>
+    <xml name="input_file_name">
+        <param argument="--input_file_name" type="text" label="Sample name" help="If not provided, the input dataset will be taken"/>
+    </xml>
+    <xml name="analysis_software_version" token_software="">
+        <param argument="--analysis_software_version" type="text" label="@SOFTWARE@ version"/>
     </xml>
     <xml name="reference_database_version">
-        <param name="reference_database_version" type="text" label="Reference database version"></param>
+        <param name="reference_database_version" type="text" label="Reference database version"/>
     </xml>
-    <xml name="analysis_software_version">
-        <param name="analysis_software_version" type="text" label="Analysis software version"></param>
+    <xml name="origin" token_software="">
+        <conditional name="origin">
+            <param name="origin" type="select" label="Input generated within Galaxy on this server without leaving it?">
+                <option value="true" selected="true">Yes</option>
+                <option value="false">No</option>
+            </param>
+            <when value="true"/>
+            <when value="false">
+                <expand macro="analysis_software_version" software="@SOFTWARE@" />
+            </when>
+        </conditional>
+        <expand macro="reference_database_version"/>   
     </xml>
-    <xml name="version_command">
-        <version_command>hamronize --version</version_command>
+    <xml name="reference_database_name" token_software="">
+        <param name="reference_database_name" type="text" label="Reference database name for @SOFTWARE@"/>
     </xml>
     <xml name="citations">
         <citations>