diff omero_get_value.xml @ 3:6ae415d8821c draft default tip

planemo upload for repository https://github.com/Helmholtz-UFZ/galaxy-tools/tree/main/tools/omero commit 233f0e70cb20a02ec8530dbcfd5c7e70eef74476
author ufz
date Mon, 26 Jan 2026 15:04:30 +0000
parents 86428b102388
children
line wrap: on
line diff
--- a/omero_get_value.xml	Fri Jun 13 20:46:09 2025 +0000
+++ b/omero_get_value.xml	Mon Jan 26 15:04:30 2026 +0000
@@ -2,16 +2,24 @@
     <description> with ezomero </description>
     <macros>
         <import>macros.xml</import>
-        <token name="@VERSION_SUFFIX@">2</token>
+        <token name="@VERSION_SUFFIX@">3</token>
     </macros>
     <xrefs>
         <xref type="bio.tools">omero</xref>
     </xrefs>
     <expand macro="ezomero_requirements"/>
+    <required_files>
+        <include path="connect_omero.py" />
+        <include path="omero_get_value.py" />
+    </required_files>
     <command detect_errors="exit_code"><![CDATA[
+        #if $test_username != ""
+            export OMERO_USER="$test_username" &&
+            export OMERO_PASSWORD="$test_password" &&
+       #end if
+
         mkdir output;
         python '$__tool_directory__/omero_get_value.py'
-        --credential-file '$credentials'
         @HOST_PORT@
         --obj_type '$obj_type'
         #if $ids_input.ids_format == "values"
@@ -19,11 +27,9 @@
         #else
             --ids_path '$ids_input.ids_path'
         #end if
+        @SESSION_ID@
         --out_dir ./output/
     ]]></command>
-    <configfiles>
-        <expand macro="credentials"/>
-    </configfiles>
     <inputs>
         <expand macro="host_port"/>
         <param argument="obj_type" type="select" optional="false" label="Type of object to fetch:">
@@ -155,4 +161,4 @@
     <citations>
         <citation type="doi">10.1038/nmeth.1896</citation>
     </citations>
-</tool>
+</tool>
\ No newline at end of file