comparison omero_metadata_import.xml @ 3:eba4011643dd draft

planemo upload for repository https://github.com/Helmholtz-UFZ/galaxy-tools/tree/main/tools/omero commit 19d84fd5a372f1428e3e5670144881a56e8af8b2
author ufz
date Tue, 22 Oct 2024 11:52:32 +0000
parents e41f70e69349
children 351c6b43e16c
comparison
equal deleted inserted replaced
2:e41f70e69349 3:eba4011643dd
1 <tool id="omero_metadata_import" name="OMERO Metadata Import" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" 1 <tool id="omero_metadata_import" name="OMERO Metadata Import" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@" license="MIT">
2 profile="20.01" license="MIT">
3 <description> with ezomero </description> 2 <description> with ezomero </description>
4 <macros> 3 <macros>
5 <token name="@TOOL_VERSION@">5.18.0</token> 4 <import>macros.xml</import>
6 <token name="@VERSION_SUFFIX@">2</token> 5 <token name="@VERSION_SUFFIX@">3</token>
7 </macros> 6 </macros>
8 <xrefs> 7 <xrefs>
9 <xref type="bio.tools">omero</xref> 8 <xref type="bio.tools">omero</xref>
10 </xrefs> 9 </xrefs>
11 <requirements> 10 <expand macro="ezomero_requirements"/>
12 <requirement type="package" version="3.0.1">ezomero</requirement>
13 <requirement type="package" version="2.2.2">pandas</requirement>
14 <!-- openjdk is needed: https://github.com/conda-forge/omero-py-feedstock/pull/16 -->
15 <requirement type="package" version="21.0.2">openjdk</requirement>
16 </requirements>
17 <command detect_errors="exit_code"><![CDATA[ 11 <command detect_errors="exit_code"><![CDATA[
18 python $__tool_directory__/omero_metadata_upload.py 12 python $__tool_directory__/omero_metadata_upload.py
19 --credential-file '$credentials' 13 --credential-file '$credentials'
20 --host $omero_host 14 @HOST_PORT@
21 --port $omero_port
22 --obj_type $obj_type 15 --obj_type $obj_type
23 --ann_type $ann_type 16 --ann_type $ann_type
24 --ann_file $ann_file 17 --ann_file $ann_file
25 --an_name $an_name 18 --an_name $an_name
26 --log_file $log 19 --log_file $log
27 #if $object_id_selection == "existing_object" 20 #if $object_id_selection == "existing_object"
28 --did "$did" 21 --did "$did"
29 #end if 22 #end if
30 ]]></command> 23 ]]></command>
31 <configfiles> 24 <configfiles>
32 <configfile name="credentials"><![CDATA[ 25 <expand macro="credentials"/>
33 {
34 "username": "$__user__.extra_preferences.get('omero_account|username', $test_username)",
35 "password": "$__user__.extra_preferences.get('omero_account|password', $test_password)"
36 }
37 ]]></configfile>
38 </configfiles> 26 </configfiles>
39 <inputs> 27 <inputs>
40 <param name="omero_host" type="text" label="OMERO host URL"> 28 <expand macro="host_port"/>
41 <validator type="regex" message="Enter a valid host location, for example, your.omero.server">^[a-zA-Z0-9._-]*$</validator>
42 <validator type="expression" message="No two dots (..) allowed">'..' not in value</validator>
43 </param>
44 <param argument="omero_port" type="integer" optional="false" value="4064" label="OMERO port"/>
45 <param argument="obj_type" type="select" optional="true" label="Target Object Type"> 29 <param argument="obj_type" type="select" optional="true" label="Target Object Type">
46 <option value="project">Project</option> 30 <option value="project">Project</option>
47 <option value="screen">Screen</option> 31 <option value="screen">Screen</option>
48 <option value="dataset">Dataset</option> 32 <option value="dataset">Dataset</option>
49 <option value="image">Image</option> 33 <option value="image">Image</option>
62 <option value="table">Table</option> 46 <option value="table">Table</option>
63 <option value="KV">Key-Value Pairs</option> 47 <option value="KV">Key-Value Pairs</option>
64 </param> 48 </param>
65 <param argument="ann_file" type="data" format="tabular" optional="false" label="Annotation file" help="Select annotation file"/> 49 <param argument="ann_file" type="data" format="tabular" optional="false" label="Annotation file" help="Select annotation file"/>
66 <param argument="an_name" type="text" optional="false" label="Annotation Name"/> 50 <param argument="an_name" type="text" optional="false" label="Annotation Name"/>
67 <param name="test_username" type="hidden" value=""/>
68 <param name="test_password" type="hidden" value=""/>
69 </inputs> 51 </inputs>
70 <outputs> 52 <outputs>
71 <data name="log" format="txt"/> 53 <data name="log" format="txt"/>
72 </outputs> 54 </outputs>
73 <tests> 55 <tests>