comparison omero_roi_import.xml @ 3:dfe0aae1495c 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:15 +0000
parents 4f4dc352d660
children 131470834fee
comparison
equal deleted inserted replaced
2:4f4dc352d660 3:dfe0aae1495c
1 <tool id="omero_roi_import" name="OMERO ROI Import" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" 1 <tool id="omero_roi_import" name="OMERO ROI 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@">3</token> 5 <token name="@VERSION_SUFFIX@">4</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_roi_upload.py' 12 python '$__tool_directory__/omero_roi_upload.py'
19 --input_file '$input' 13 --input_file '$input'
20 --image_id $id 14 --image_id $id
21 --credential-file '$credentials' 15 --credential-file '$credentials'
22 --host '$omero_host' 16 @HOST_PORT@
23 --port $omero_port
24 --log_file '$log' 17 --log_file '$log'
25 ]]></command> 18 ]]></command>
26 <configfiles> 19 <configfiles>
27 <configfile name="credentials"><![CDATA[ 20 <expand macro="credentials"/>
28 {
29 "username": "$__user__.extra_preferences.get('omero_account|username', $test_username)",
30 "password": "$__user__.extra_preferences.get('omero_account|password', $test_password)"
31 }
32 ]]></configfile>
33 </configfiles> 21 </configfiles>
34 <inputs> 22 <inputs>
23 <expand macro="host_port"/>
35 <param argument="input" type="data" format="tabular" optional="false" label="Tab File with ROIs" help="Select ROIs Tabular file"/> 24 <param argument="input" type="data" format="tabular" optional="false" label="Tab File with ROIs" help="Select ROIs Tabular file"/>
36 <param argument="id" type="integer" value="" optional="false" label="Image ID where annotate the ROIs"/> 25 <param argument="id" type="integer" value="" optional="false" label="Image ID where annotate the ROIs"/>
37 <param name="omero_host" type="text" label="OMERO host URL">
38 <validator type="regex" message="Enter a valid host location, for example, your.omero.server">^[a-zA-Z0-9._-]*$</validator>
39 <validator type="expression" message="No two dots (..) allowed">'..' not in value</validator>
40 </param>
41 <param argument="omero_port" type="integer" optional="false" value="4064" label="OMERO port"/>
42 <param name="test_username" type="hidden" value=""/>
43 <param name="test_password" type="hidden" value=""/>
44 </inputs> 26 </inputs>
45 <outputs> 27 <outputs>
46 <data name="log" format="txt"/> 28 <data name="log" format="txt"/>
47 </outputs> 29 </outputs>
48 <tests> 30 <tests>