comparison omero_get_children_ids.xml @ 1:82f2efb46200 draft default tip

planemo upload for repository https://github.com/lldelisle/tools-lldelisle/tree/master/tools/omero_get_children_ids commit 3a5c830ad68e29c5e9f91edffa0a548c77aac141
author lldelisle
date Mon, 17 Jun 2024 08:05:48 +0000
parents b0876c73076b
children
comparison
equal deleted inserted replaced
0:b0876c73076b 1:82f2efb46200
1 <tool id="omero_get_children_ids" name="Omero" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="20.01" license="MIT"> 1 <tool id="omero_get_children_ids" name="Omero" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="20.01" license="MIT">
2 <description>Get children ids</description> 2 <description>Get children ids</description>
3 <macros> 3 <macros>
4 <token name="@TOOL_VERSION@">0.1.0</token> 4 <token name="@TOOL_VERSION@">0.2.0</token>
5 <token name="@VERSION_SUFFIX@">0</token> 5 <token name="@VERSION_SUFFIX@">0</token>
6 </macros> 6 </macros>
7 <requirements> 7 <requirements>
8 <requirement type="package" version="5.17.0">omero-py</requirement> 8 <requirement type="package" version="5.17.0">omero-py</requirement>
9 </requirements> 9 </requirements>
27 #end if 27 #end if
28 --parent-object-type '$omero_object.parent_object_type' 28 --parent-object-type '$omero_object.parent_object_type'
29 --omero-id '$omero_object.omero_id' 29 --omero-id '$omero_object.omero_id'
30 --final-object-type '$omero_object.final_object_type' 30 --final-object-type '$omero_object.final_object_type'
31 --output '$output' 31 --output '$output'
32 $get_name
32 ]]></command> 33 ]]></command>
33 <configfiles> 34 <configfiles>
34 <configfile name="credentials"><![CDATA[ 35 <configfile name="credentials"><![CDATA[
35 #if $omero_instance_type.omero_instance =='priv' and $omero_instance_type.galaxy_test_param == 'true': 36 #if $omero_instance_type.omero_instance =='priv' and $omero_instance_type.galaxy_test_param == 'true':
36 ## as a test for a private instance we actually use a public instance, but with credentials 37 ## as a test for a private instance we actually use a public instance, but with credentials
103 <option value="image">All Omero Image Ids</option> 104 <option value="image">All Omero Image Ids</option>
104 <option value="dataset">All Omero Dataset Ids</option> 105 <option value="dataset">All Omero Dataset Ids</option>
105 </param> 106 </param>
106 </when> 107 </when>
107 </conditional> 108 </conditional>
109 <param name="get_name" type="boolean" truevalue="--get-name" falsevalue="" checked="false" label="Retrieve names into a second column" />
108 </inputs> 110 </inputs>
109 <outputs> 111 <outputs>
110 <data name="output" format="tabular" label="All ${omero_object.final_object_type} from ${omero_object.parent_object_type} ID ${omero_object.omero_id}" /> 112 <data name="output" format="tabular" label="All ${omero_object.final_object_type} from ${omero_object.parent_object_type} ID ${omero_object.omero_id}" />
111 </outputs> 113 </outputs>
112 <tests> 114 <tests>
129 <test expect_num_outputs="1"> 131 <test expect_num_outputs="1">
130 <conditional name="omero_instance_type"> 132 <conditional name="omero_instance_type">
131 <param name="omero_instance" value="idr"/> 133 <param name="omero_instance" value="idr"/>
132 </conditional> 134 </conditional>
133 <conditional name="omero_object"> 135 <conditional name="omero_object">
136 <param name="parent_object_type" value="well"/>
137 <param name="omero_id" value="2184933"/>
138 <param name="final_object_type" value="image"/>
139 </conditional>
140 <param name="get_name" value="true"/>
141 <output name="output">
142 <assert_contents>
143 <has_text text="003012001.flex [Well A-1; Field #1]"/>
144 <has_n_lines n="4"/>
145 </assert_contents>
146 </output>
147 </test>
148 <test expect_num_outputs="1">
149 <conditional name="omero_instance_type">
150 <param name="omero_instance" value="idr"/>
151 </conditional>
152 <conditional name="omero_object">
134 <param name="parent_object_type" value="plate"/> 153 <param name="parent_object_type" value="plate"/>
135 <param name="omero_id" value="10055"/> 154 <param name="omero_id" value="10055"/>
136 <param name="final_object_type" value="image"/> 155 <param name="final_object_type" value="image"/>
137 </conditional> 156 </conditional>
138 <output name="output"> 157 <output name="output">
261 280
262 **What it does** 281 **What it does**
263 282
264 This tool will create a file with the list of all children ids of a given omero object. 283 This tool will create a file with the list of all children ids of a given omero object.
265 284
285 If the option is set, it can also retrive the names.
286
266 ]]></help> 287 ]]></help>
267 </tool> 288 </tool>