comparison detection_viz.xml @ 2:f46f64f9590d draft

planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit a47299b0f9de530b7501f72fae2dd43d4e7700ba
author imgteam
date Mon, 22 Jul 2019 11:22:03 -0400
parents ec1ca4d62192
children 99433164b593
comparison
equal deleted inserted replaced
1:ec1ca4d62192 2:f46f64f9590d
1 <tool id="ip_detection_viz" name="Detection Visualization" version="0.2"> 1 <tool id="ip_detection_viz" name="Detection Visualization" version="0.3">
2 <description>Detection Visualization</description> 2 <description>Detection Visualization</description>
3 <requirements> 3 <requirements>
4 <requirement type="package" version="0.14.2">scikit-image</requirement> 4 <requirement type="package" version="0.14.2">scikit-image</requirement>
5 <requirement type="package" version="3.0.2">matplotlib</requirement> 5 <requirement type="package" version="3.0.2">matplotlib</requirement>
6 <requirement type="package" version="0.15.1">tifffile</requirement> 6 <requirement type="package" version="0.15.1">tifffile</requirement>
7 </requirements> 7 </requirements>
8 <command detect_errors="aggressive"> 8 <command detect_errors="aggressive">
9 <![CDATA[ 9 <![CDATA[
10 python '$__tool_directory__/detection_viz.py' '$input' '$output' 10 python '$__tool_directory__/detection_viz.py' '$input' '$output'
11 --stroke_size $thickness --circle_radius $circle_radius $tp $fn $fp 11 --stroke_size $thickness --circle_radius $circle_radius
12 #if $tp_option['display'] == 'true'
13 --tp '$tp'
14 #end if
15 #if $fn_option['display'] == 'true'
16 --fn '$fn'
17 #end if
18 #if $fp_option['display'] == 'true'
19 --fp '$fp'
20 #end if
12 ]]> 21 ]]>
13 </command> 22 </command>
14 <inputs> 23 <inputs>
15 <param name="input" type="data" format="tiff,png,jpg,bmp" label="Binary Image File"/> 24 <param name="input" type="data" format="tiff,png,jpg,bmp" label="Binary Image File"/>
16 <param argument="--tp" type="boolean" checked="false" falsevalue="" truevalue="--tp"/> 25 <conditional name="tp_option">
17 <param argument="--fn" type="boolean" checked="false" falsevalue="" truevalue="--fn"/> 26 <param label="Display true positives" name="display" type="select">
18 <param argument="--fp" type="boolean" checked="false" falsevalue="" truevalue="--fp"/> 27 <option selected="True" value="false">No</option>
28 <option value="true">Yes</option>
29 </param>
30 <when value="false"></when>
31 <when value="true">
32 <param name="tp" type="data" format="tabular" label="True positives file" />
33 </when>
34 </conditional>
35 <conditional name="fn_option">
36 <param label="Display false negatives" name="display" type="select">
37 <option selected="True" value="false">No</option>
38 <option value="true">Yes</option>
39 </param>
40 <when value="false"></when>
41 <when value="true">
42 <param name="fn" type="data" format="tabular" label="False negatives file" />
43 </when>
44 </conditional>
45 <conditional name="fp_option">
46 <param label="Display false positives" name="display" type="select">
47 <option selected="True" value="false">No</option>
48 <option value="true">Yes</option>
49 </param>
50 <when value="false"></when>
51 <when value="true">
52 <param name="fp" type="data" format="tabular" label="False positives file" />
53 </when>
54 </conditional>
19 <param name="thickness" type="float" value="3.0" label="Stroke thickness"/> 55 <param name="thickness" type="float" value="3.0" label="Stroke thickness"/>
20 <param name="circle_radius" type="float" value="50.0" label="Circle radius"/> 56 <param name="circle_radius" type="float" value="50.0" label="Circle radius"/>
21 </inputs> 57 </inputs>
22 <outputs> 58 <outputs>
23 <data format="png" name="output"/> 59 <data format="png" name="output"/>
24 </outputs> 60 </outputs>
25 <tests> 61 <tests>
26 <test> 62 <test>
27 <param name="input" value="sample.png"/> 63 <param name="input" value="sample.png"/>
64 <param name="tp_option.display" value="false"/>
65 <param name="fn_option.display" value="false"/>
66 <param name="fp_option.display" value="false"/>
28 <output name="output" value="out.png" ftype="png"/> 67 <output name="output" value="out.png" ftype="png"/>
29 </test> 68 </test>
30 </tests> 69 </tests>
31 <help> 70 <help>
32 **What it does** 71 **What it does**