diff omero_import.xml @ 2:267227e757cb draft

planemo upload for repository https://github.com/Helmholtz-UFZ/galaxy-tools/tree/main/tools/omero commit 5b1b30d409355cee98485815c1dd4ac48649bcc1
author ufz
date Thu, 05 Sep 2024 11:55:50 +0000
parents f762de618b1f
children 83ccd2b525e5
line wrap: on
line diff
--- a/omero_import.xml	Wed Aug 07 12:54:30 2024 +0000
+++ b/omero_import.xml	Thu Sep 05 11:55:50 2024 +0000
@@ -2,7 +2,7 @@
     <description> with omero-py </description>
     <macros>
         <token name="@TOOL_VERSION@">5.18.0</token>
-        <token name="@VERSION_SUFFIX@">0</token>
+        <token name="@VERSION_SUFFIX@">1</token>
     </macros>
     <xrefs>
         <xref type="bio.tools">omero</xref>
@@ -25,8 +25,8 @@
         omero import folder -T Dataset:name:$dataset_name
             -s $omero_host
             -p $omero_port
-            -u $__user__.extra_preferences.get('omero|username', $test_username)
-            -w $__user__.extra_preferences.get('omero|password', $test_password)
+            -u $__user__.extra_preferences.get('omero_account|username', $test_username)
+            -w $__user__.extra_preferences.get('omero_account|password', $test_password)
         > $log &&
 
         omero logout
@@ -36,6 +36,7 @@
         <param name="dataset_name" type="text" optional="false" label="Target Dataset Name"/>
         <param name="omero_host" type="text" label="OMERO host URL">
             <validator type="regex" message="Enter a valid host location, for example, your.omero.server">^[a-zA-Z0-9._-]*$</validator>
+            <validator type="expression" message="No two dots (..) allowed">'..' not in value</validator>
         </param>
         <param name="omero_port" type="integer" value="4064" optional="false" label="OMERO port"/>
         <param name="test_username" type="hidden" value=""/>