changeset 6:6d8603230e85 draft default tip

planemo upload for repository https://github.com/Helmholtz-UFZ/galaxy-tools/tree/main/tools/omero commit 3d98eedf798f0d1dcb32c572580c871ad2b6c9aa
author ufz
date Thu, 19 Dec 2024 13:48:21 +0000
parents 4291d37da555
children
files omero_metadata_import.xml
diffstat 1 files changed, 18 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- a/omero_metadata_import.xml	Mon Dec 16 20:56:56 2024 +0000
+++ b/omero_metadata_import.xml	Thu Dec 19 13:48:21 2024 +0000
@@ -35,14 +35,14 @@
             <option value="image">Image</option>
         </param>
         <conditional name="object_id">
-        <param name="object_id_selection" type="select" label="Selection" help="Create a new OMERO object or target an existing one">
-            <option value="new_object">Create new object</option>
-            <option value="existing_object">Target an existing object</option>
-        </param>
-        <when value="new_object"/>
-        <when value="existing_object">
-            <param name="did" type="integer" min = "1" optional="false" label="Object ID"/>
-        </when>
+            <param name="object_id_selection" type="select" label="Selection" help="Create a new OMERO object or target an existing one">
+                <option value="new_object">Create new object</option>
+                <option value="existing_object">Target an existing object</option>
+            </param>
+            <when value="new_object"/>
+            <when value="existing_object">
+                <param name="did" type="integer" min = "1" optional="false" label="Object ID"/>
+            </when>
         </conditional>
         <param argument="ann_type" type="select" optional="false" label="Annotation type" help="Select annotation format">
             <option value="table">Table</option>
@@ -60,7 +60,9 @@
             <param name="omero_port" value="6064"/>
             <param name="obj_type" value="project"/>
             <param name="ann_type" value="table"/>
-            <param name="object_id_selection" value="new_object"/>
+            <conditional name="object_id">
+                <param name="object_id_selection" value="new_object"/>
+            </conditional>
             <param name="ann_file" value="metadata.tsv"/>
             <param name="an_name" value="Table_Test"/>
             <param name="test_username" value="root"/>
@@ -76,7 +78,9 @@
             <param name="omero_port" value="6064"/>
             <param name="obj_type" value="dataset"/>
             <param name="ann_type" value="KV"/>
-            <param name="object_id_selection" value="new_object"/>
+            <conditional name="object_id">
+                <param name="object_id_selection" value="new_object"/>
+            </conditional>
             <param name="ann_file" value="metadata.tsv"/>
             <param name="an_name" value="KV_Test"/>
             <param name="test_username" value="root"/>
@@ -92,8 +96,10 @@
             <param name="omero_port" value="6064"/>
             <param name="obj_type" value="dataset"/>
             <param name="ann_type" value="KV"/>
-            <param name="object_id_selection" value="existing_object"/>
-            <param name="did" value="1"/>
+            <conditional name="object_id">
+                <param name="object_id_selection" value="existing_object"/>
+                <param name="did" value="1"/>
+            </conditional>
             <param name="ann_file" value="metadata.tsv"/>
             <param name="an_name" value="Additional_KV_Values"/>
             <param name="test_username" value="root"/>