comparison macros.xml @ 0:c23735b45a4a 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:53:30 +0000
parents
children ae07ea142e0f
comparison
equal deleted inserted replaced
-1:000000000000 0:c23735b45a4a
1 <macros>
2 <!-- for historic reasons the omero-py version is used as the version for all tools -->
3 <token name="@TOOL_VERSION@">5.18.0</token>
4 <token name="@EZOMERO_VERSION@">3.0.1</token>
5 <token name="@PROFILE@">23.0</token>
6
7 <xml name="ezomero_requirements">
8 <requirements>
9 <requirement type="package" version="@EZOMERO_VERSION@">ezomero</requirement>
10 <requirement type="package" version="2.2.2">pandas</requirement>
11 <yield/>
12 </requirements>
13 </xml>
14
15 <xml name="omeropy_requirements">
16 <requirements>
17 <requirement type="package" version="@TOOL_VERSION@">omero-py</requirement>
18 <!-- openjdk is needed: https://github.com/conda-forge/omero-py-feedstock/pull/16 -->
19 <requirement type="package" version="21.0.2">openjdk</requirement>
20 <yield/>
21 </requirements>
22 </xml>
23
24
25 <xml name="host_port">
26 <param name="omero_host" type="text" label="OMERO host URL">
27 <validator type="regex" message="Enter a valid host location, for example, your.omero.server">^[a-zA-Z0-9._-]*$</validator>
28 <validator type="expression" message="No two dots (..) allowed">'..' not in value</validator>
29 </param>
30 <param argument="omero_port" type="integer" optional="false" value="4064" label="OMERO port"/>
31 <param name="test_username" type="hidden" value=""/>
32 <param name="test_password" type="hidden" value=""/>
33 </xml>
34 <token name="@HOST_PORT@">
35 --host '$omero_host'
36 --port $omero_port
37 </token>
38
39 <xml name="credentials">
40 <configfile name="credentials"><![CDATA[
41 {
42 "username": "$__user__.extra_preferences.get('omero_account|username', $test_username)",
43 "password": "$__user__.extra_preferences.get('omero_account|password', $test_password)"
44 }
45 ]]></configfile>
46 </xml>
47 </macros>