changeset 6:bdc969c006fe draft default tip

planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/ocean_data_view_manager commit 9439bd5028eacdaaaff42dd2e095cb6ddc5af56e
author ecology
date Fri, 25 Jul 2025 09:44:28 +0000 (2 days ago)
parents 418e44128024
children
files tool_odv.xml
diffstat 1 files changed, 18 insertions(+), 20 deletions(-) [+]
line wrap: on
line diff
--- a/tool_odv.xml	Mon Jul 21 15:55:08 2025 +0000
+++ b/tool_odv.xml	Fri Jul 25 09:44:28 2025 +0000
@@ -2,7 +2,7 @@
     <description>tool for qualificiation and validation</description>
     <macros>
         <token name="@VERSION@">1.3</token>
-        <token name="@VERSION_SUFFIX@">1</token>
+        <token name="@VERSION_SUFFIX@">2</token>
     </macros>
     <requirements>
         <container type="docker">easyqcvbgc/easy-qcv_odv-coll-manager_tool:oc@VERSION@</container>
@@ -32,7 +32,7 @@
         
         #if $config.type == 'yes':
             ## Write YAML content
-            cp '${config_file}' '/runtime/config/config_user_odv_tool.yml' &&
+            cp '${config_file}' '/runtime/config/config_user_odv_manager.yml' &&
         #end if 
 
         /app/launchers/start-app.sh &&
@@ -46,30 +46,28 @@
         #if $config.type == 'yes':
                 default:
                     file_name_list_raw: 
-                        #for $i, $infile in enumerate($input_raw):
+                        #for $infile in $input_raw:
                             #set real_name = $infile.element_identifier
                             #set extension = $real_name.split('.')[-1]
-                            #if  $extension == 'nc':
-                                #set name_raw='${infile.element_identifier}'
-                            #else:
-                                #set name_raw='${infile.element_identifier}.nc'
-                            #end if 
+                            #if $extension == 'nc':
+                            - ${infile.element_identifier}
+                            #else
+                            - ${infile.element_identifier}.nc
+                            #end if
                         #end for
-                        - ${name_raw}
-                    operator: '${config.operator}' 
+                    operator: ${config.operator} 
                 QV:
                     file_name_list_ref: 
-                        #for $i, $infile in enumerate($input_ref):
-                            #set name_ref='${infile.element_identifier}'
+                        #for $infile in $input_ref :
+                            - ${infile.element_identifier}
                         #end for
-                        - ${name_ref}
                     odv_collection:
                         name: "odv_collection.txt"
-                        qc_convention: '${config.qc_convention}' 
+                        qc_convention: ${config.qc_convention}
                     tool_option:
-                        subsetting: '${config.subsetting}' 
-                        plt: '${config.plt}' 
-        #end if 
+                        subsetting: ${config.subsetting}
+                        plt: ${config.plt}
+        #end if
         </configfile>
     </configfiles>
     <inputs>
@@ -99,15 +97,15 @@
                     <option value="OceanSITES">OceanSITES</option>
                     <option value="IODE">IODE</option>
                 </param>
-                <param name="subsetting" type="float" min="-1" max="1" value="1" label="Enter subsetting (default: 1)"/>
-                <param name="plt" type="float" min="0" max="1" value="0" label="Enter plt (default: 0 for QV, 1 for demo)"/>
+                <param name="subsetting" type="integer" min="-1" max="1" value="1" label="Enter subsetting (default: 1)"/>
+                <param name="plt" type="integer" min="0" max="1" value="0" label="Enter plt (default: 0 for QV, 1 for demo)"/>
             </when>
             <when value="no">
             </when>
         </conditional>
     </inputs>
     <outputs>
-        <data name="output" format="txt" label="ODV tool output"/>
+        <data name="output" format="txt" label="ODV collection manager output"/>
         <collection type="list" name="files" label="ODV tool collection">
             <discover_datasets pattern="(?P&lt;designation&gt;.+)" directory="./outputs" recurse="true" format="txt"/>
         </collection>