Mercurial > repos > ufz > omero_import
comparison omero_import.xml @ 3:83ccd2b525e5 draft
planemo upload for repository https://github.com/Helmholtz-UFZ/galaxy-tools/tree/main/tools/omero commit 266752b0162fbdb32f132a6702cb661ae36f48f0
author | ufz |
---|---|
date | Thu, 12 Sep 2024 16:30:43 +0000 |
parents | 267227e757cb |
children | d0c0f3c95368 |
comparison
equal
deleted
inserted
replaced
2:267227e757cb | 3:83ccd2b525e5 |
---|---|
1 <tool id="omero_import" name="OMERO Image Import" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="20.01" license="MIT"> | 1 <tool id="omero_import" name="OMERO Image Import" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="20.01" license="MIT"> |
2 <description> with omero-py </description> | 2 <description> with omero-py </description> |
3 <macros> | 3 <macros> |
4 <token name="@TOOL_VERSION@">5.18.0</token> | 4 <token name="@TOOL_VERSION@">5.18.0</token> |
5 <token name="@VERSION_SUFFIX@">1</token> | 5 <token name="@VERSION_SUFFIX@">2</token> |
6 </macros> | 6 </macros> |
7 <xrefs> | 7 <xrefs> |
8 <xref type="bio.tools">omero</xref> | 8 <xref type="bio.tools">omero</xref> |
9 </xrefs> | 9 </xrefs> |
10 <requirements> | 10 <requirements> |
20 #set image = $image | 20 #set image = $image |
21 #set image_identifier = re.sub('[^\s\w\-]', '_', str($image.element_identifier)) | 21 #set image_identifier = re.sub('[^\s\w\-]', '_', str($image.element_identifier)) |
22 ln -s '${image}' folder/'${image_identifier}.$image.ext' && | 22 ln -s '${image}' folder/'${image_identifier}.$image.ext' && |
23 #end for | 23 #end for |
24 | 24 |
25 source '$credentials' && | |
25 omero import folder -T Dataset:name:$dataset_name | 26 omero import folder -T Dataset:name:$dataset_name |
26 -s $omero_host | 27 -s $omero_host |
27 -p $omero_port | 28 -p $omero_port |
28 -u $__user__.extra_preferences.get('omero_account|username', $test_username) | 29 -u "\$OMERO_USER" |
29 -w $__user__.extra_preferences.get('omero_account|password', $test_password) | 30 -w "\$OMERO_PASSWORD" |
30 > $log && | 31 > $log && |
31 | 32 |
32 omero logout | 33 omero logout |
33 ]]></command> | 34 ]]></command> |
35 <configfiles> | |
36 <configfile name="credentials"><![CDATA[ | |
37 export OMERO_USER="$__user__.extra_preferences.get('omero_account|username', $test_username)" | |
38 export OMERO_PASSWORD="$__user__.extra_preferences.get('omero_account|password', $test_password)" | |
39 ]]></configfile> | |
40 </configfiles> | |
34 <inputs> | 41 <inputs> |
35 <param name="folder" type="data" format="avi,bmp,btf,cif,csv,eps,fits,fli,gif,hdr,html,jp2,jpg,mov,mrc,ndpi,nhdr,nrrd,ome.tiff,par,pbm,pcx,pgm,png,ppm,psd,scn,sif,svs,tf2,tf8,tif,tif,tiff,top,txt,vms,wav,xml,zip" multiple="true" optional="false" label="Images to import into OMERO"/> | 42 <param name="folder" type="data" format="avi,bmp,btf,cif,csv,eps,fits,fli,gif,hdr,html,jp2,jpg,mov,mrc,ndpi,nhdr,nrrd,ome.tiff,par,pbm,pcx,pgm,png,ppm,psd,scn,sif,svs,tf2,tf8,tif,tif,tiff,top,txt,vms,wav,xml,zip" multiple="true" optional="false" label="Images to import into OMERO"/> |
36 <param name="dataset_name" type="text" optional="false" label="Target Dataset Name"/> | 43 <param name="dataset_name" type="text" optional="false" label="Target Dataset Name"/> |
37 <param name="omero_host" type="text" label="OMERO host URL"> | 44 <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> | 45 <validator type="regex" message="Enter a valid host location, for example, your.omero.server">^[a-zA-Z0-9._-]*$</validator> |