comparison auto_threshold.xml @ 8:699a5e9146b3 draft default tip

planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_auto_threshold/ commit c86a1b93cb7732f7331a981d13465653cc1a2790
author imgteam
date Wed, 24 Apr 2024 08:11:33 +0000
parents e5c8e7e72373
children
comparison
equal deleted inserted replaced
7:e5c8e7e72373 8:699a5e9146b3
2 <description>with scikit-image</description> 2 <description>with scikit-image</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@">0.18.1</token> 6 <token name="@TOOL_VERSION@">0.18.1</token>
7 <token name="@VERSION_SUFFIX@">2</token> 7 <token name="@VERSION_SUFFIX@">3</token>
8 <xml name="inputs/offset"> 8 <xml name="inputs/offset">
9 <param name="offset" type="float" value="0" label="Offset" help="Offset to be added to the automatically determined threshold value. Positive values will increase the threshold (and thus reduce the amount of values above the threshold)." /> 9 <param name="offset" type="float" value="0" label="Offset" help="Offset to be added to the automatically determined threshold value. Positive values will increase the threshold (and thus reduce the amount of values above the threshold)." />
10 </xml> 10 </xml>
11 </macros> 11 </macros>
12 <creator> 12 <creator>
20 <xref type="biii">scikit-image</xref> 20 <xref type="biii">scikit-image</xref>
21 </xrefs> 21 </xrefs>
22 <requirements> 22 <requirements>
23 <requirement type="package" version="@TOOL_VERSION@">scikit-image</requirement> 23 <requirement type="package" version="@TOOL_VERSION@">scikit-image</requirement>
24 <requirement type="package" version="2020.10.1">tifffile</requirement> 24 <requirement type="package" version="2020.10.1">tifffile</requirement>
25 <requirement type="package" version="0.1">giatools</requirement>
25 </requirements> 26 </requirements>
26 <command detect_errors="aggressive"> 27 <command detect_errors="aggressive">
27 <![CDATA[ 28 <![CDATA[
28 python '$__tool_directory__/auto_threshold.py' 29 python '$__tool_directory__/auto_threshold.py'
29 '$input' 30 '$input'
122 <param name="method_id" value="manual"/> 123 <param name="method_id" value="manual"/>
123 <param name="threshold" value="64"/> 124 <param name="threshold" value="64"/>
124 <param name="invert_output" value="True"/> 125 <param name="invert_output" value="True"/>
125 <expand macro="tests/binary_image_diff" name="output" value="out4.tif" ftype="tiff"/> 126 <expand macro="tests/binary_image_diff" name="output" value="out4.tif" ftype="tiff"/>
126 </test> 127 </test>
128 <!-- Tests for irregular files -->
129 <test>
130 <param name="input" value="sample2.tif"/>
131 <param name="method_id" value="otsu"/>
132 <param name="invert_output" value="False"/>
133 <expand macro="tests/binary_image_diff" name="output" value="out5.tif" ftype="tiff"/>
134 </test>
127 <!-- Tests for multi-channel images --> 135 <!-- Tests for multi-channel images -->
128 <test expect_failure="true"> 136 <test expect_failure="true">
129 <param name="input" value="rgb.png"/> 137 <param name="input" value="rgb.png"/>
130 </test> 138 </test>
131 </tests> 139 </tests>