comparison split_image.xml @ 1:4b7940d0c051 draft

planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/split_image/ commit 6152e9fafda27f76c1e96e533143f86fe605e2da
author imgteam
date Sat, 12 Apr 2025 15:05:17 +0000
parents 5deaa390ca62
children 227e8928af6e
comparison
equal deleted inserted replaced
0:5deaa390ca62 1:4b7940d0c051
2 <description>with NumPy</description> 2 <description>with NumPy</description>
3 <macros> 3 <macros>
4 <import>creators.xml</import> 4 <import>creators.xml</import>
5 <import>tests.xml</import> 5 <import>tests.xml</import>
6 <token name="@TOOL_VERSION@">2.2.3</token> 6 <token name="@TOOL_VERSION@">2.2.3</token>
7 <token name="@VERSION_SUFFIX@">0</token> 7 <token name="@VERSION_SUFFIX@">1</token>
8 </macros> 8 </macros>
9 <creator> 9 <creator>
10 <expand macro="creators/bmcv"/> 10 <expand macro="creators/bmcv"/>
11 </creator> 11 </creator>
12 <edam_operations> 12 <edam_operations>
13 <edam_operation>operation_3443</edam_operation> 13 <edam_operation>operation_3443</edam_operation>
14 </edam_operations> 14 </edam_operations>
15 <requirements> 15 <requirements>
16 <requirement type="package" version="@TOOL_VERSION@">numpy</requirement> 16 <requirement type="package" version="@TOOL_VERSION@">numpy</requirement>
17 <requirement type="package" version="0.3.2">giatools</requirement> 17 <requirement type="package" version="0.4.0">giatools</requirement>
18 <requirement type="package" version="2024.7.24">tifffile</requirement> 18 <requirement type="package" version="2024.7.24">tifffile</requirement>
19 </requirements> 19 </requirements>
20 <command detect_errors="aggressive"><![CDATA[ 20 <command detect_errors="aggressive"><![CDATA[
21 21
22 mkdir output && 22 mkdir output &&
34 <param name="axis" type="select" label="Axis to split along"> 34 <param name="axis" type="select" label="Axis to split along">
35 <option value="T">T-axis (split the frames of a temporal image sequence)</option> 35 <option value="T">T-axis (split the frames of a temporal image sequence)</option>
36 <option value="Z">Z-axis (split the slices of a 3-D image or image sequence)</option> 36 <option value="Z">Z-axis (split the slices of a 3-D image or image sequence)</option>
37 <option value="C" selected="true">C-axis (split the channels of an image or image sequence)</option> 37 <option value="C" selected="true">C-axis (split the channels of an image or image sequence)</option>
38 <option value="S">S-axis (split the samples of an image or image sequence)</option> 38 <option value="S">S-axis (split the samples of an image or image sequence)</option>
39 <option value="Q">Q-axis (other or unknown axis)</option>
39 </param> 40 </param>
40 <param name="squeeze" type="boolean" checked="false" truevalue="--squeeze" falsevalue="" label="Squeeze result imags" help="Only axes with more than one element will be retained in the result images. Does not apply for X and Y axes." /> 41 <param name="squeeze" type="boolean" checked="false" truevalue="--squeeze" falsevalue="" label="Squeeze result imags" help="Only axes with more than one element will be retained in the result images. Does not apply for X and Y axes." />
41 </inputs> 42 </inputs>
42 <outputs> 43 <outputs>
43 <collection type="list" name="output" label="Split ${on_string} along ${axis} axis"> 44 <collection type="list" name="output" label="Split ${on_string} along ${axis} axis">
64 <param name="axis" value="Z" /> 65 <param name="axis" value="Z" />
65 <param name="squeeze" value="false" /> 66 <param name="squeeze" value="false" />
66 <output_collection name="output" type="list" count="25"> 67 <output_collection name="output" type="list" count="25">
67 <expand macro="tests/intensity_image_diff/element" name="01.tiff" value="zcyx_slice01.tiff" ftype="tiff"/> 68 <expand macro="tests/intensity_image_diff/element" name="01.tiff" value="zcyx_slice01.tiff" ftype="tiff"/>
68 <expand macro="tests/intensity_image_diff/element" name="25.tiff" value="zcyx_slice25.tiff" ftype="tiff"/> 69 <expand macro="tests/intensity_image_diff/element" name="25.tiff" value="zcyx_slice25.tiff" ftype="tiff"/>
70 </output_collection>
71 </test>
72 <test>
73 <param name="input" value="qyx.tiff" />
74 <param name="axis" value="Q" />
75 <param name="squeeze" value="false" />
76 <output_collection name="output" type="list" count="2">
77 <expand macro="tests/intensity_image_diff/element" name="1.tiff" value="qyx_q1.tiff" ftype="tiff"/>
78 <expand macro="tests/intensity_image_diff/element" name="2.tiff" value="qyx_q2.tiff" ftype="tiff"/>
69 </output_collection> 79 </output_collection>
70 </test> 80 </test>
71 81
72 <!-- Test squeezing --> 82 <!-- Test squeezing -->
73 <test> 83 <test>