annotate tests.xml @ 1:6e9e98a7be4e draft default tip

planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/background_removal commit 649a1e6ecb925bed885a8477fe82dfd9dfea8baa
author imgteam
date Tue, 30 Jul 2024 08:08:50 +0000
parents e2c6bedc6b73
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
e2c6bedc6b73 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/background_removal commit 004112ac8c2ebcdb9763096df440227fda174ae3
imgteam
parents:
diff changeset
1 <macros>
e2c6bedc6b73 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/background_removal commit 004112ac8c2ebcdb9763096df440227fda174ae3
imgteam
parents:
diff changeset
2
e2c6bedc6b73 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/background_removal commit 004112ac8c2ebcdb9763096df440227fda174ae3
imgteam
parents:
diff changeset
3 <!-- Macros for verification of image outputs -->
e2c6bedc6b73 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/background_removal commit 004112ac8c2ebcdb9763096df440227fda174ae3
imgteam
parents:
diff changeset
4
e2c6bedc6b73 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/background_removal commit 004112ac8c2ebcdb9763096df440227fda174ae3
imgteam
parents:
diff changeset
5 <xml
e2c6bedc6b73 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/background_removal commit 004112ac8c2ebcdb9763096df440227fda174ae3
imgteam
parents:
diff changeset
6 name="tests/binary_image_diff"
e2c6bedc6b73 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/background_removal commit 004112ac8c2ebcdb9763096df440227fda174ae3
imgteam
parents:
diff changeset
7 tokens="name,value,ftype,metric,eps"
e2c6bedc6b73 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/background_removal commit 004112ac8c2ebcdb9763096df440227fda174ae3
imgteam
parents:
diff changeset
8 token_metric="mae"
e2c6bedc6b73 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/background_removal commit 004112ac8c2ebcdb9763096df440227fda174ae3
imgteam
parents:
diff changeset
9 token_eps="0.01">
e2c6bedc6b73 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/background_removal commit 004112ac8c2ebcdb9763096df440227fda174ae3
imgteam
parents:
diff changeset
10
e2c6bedc6b73 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/background_removal commit 004112ac8c2ebcdb9763096df440227fda174ae3
imgteam
parents:
diff changeset
11 <output name="@NAME@" value="@VALUE@" ftype="@FTYPE@" compare="image_diff" metric="@METRIC@" eps="@EPS@" pin_labels="0">
e2c6bedc6b73 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/background_removal commit 004112ac8c2ebcdb9763096df440227fda174ae3
imgteam
parents:
diff changeset
12 <assert_contents>
e2c6bedc6b73 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/background_removal commit 004112ac8c2ebcdb9763096df440227fda174ae3
imgteam
parents:
diff changeset
13 <has_image_n_labels n="2"/>
e2c6bedc6b73 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/background_removal commit 004112ac8c2ebcdb9763096df440227fda174ae3
imgteam
parents:
diff changeset
14 <yield/>
e2c6bedc6b73 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/background_removal commit 004112ac8c2ebcdb9763096df440227fda174ae3
imgteam
parents:
diff changeset
15 </assert_contents>
e2c6bedc6b73 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/background_removal commit 004112ac8c2ebcdb9763096df440227fda174ae3
imgteam
parents:
diff changeset
16 </output>
e2c6bedc6b73 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/background_removal commit 004112ac8c2ebcdb9763096df440227fda174ae3
imgteam
parents:
diff changeset
17
e2c6bedc6b73 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/background_removal commit 004112ac8c2ebcdb9763096df440227fda174ae3
imgteam
parents:
diff changeset
18 </xml>
e2c6bedc6b73 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/background_removal commit 004112ac8c2ebcdb9763096df440227fda174ae3
imgteam
parents:
diff changeset
19
e2c6bedc6b73 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/background_removal commit 004112ac8c2ebcdb9763096df440227fda174ae3
imgteam
parents:
diff changeset
20 <xml
e2c6bedc6b73 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/background_removal commit 004112ac8c2ebcdb9763096df440227fda174ae3
imgteam
parents:
diff changeset
21 name="tests/label_image_diff"
e2c6bedc6b73 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/background_removal commit 004112ac8c2ebcdb9763096df440227fda174ae3
imgteam
parents:
diff changeset
22 tokens="name,value,ftype,metric,eps,pin_labels"
e2c6bedc6b73 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/background_removal commit 004112ac8c2ebcdb9763096df440227fda174ae3
imgteam
parents:
diff changeset
23 token_metric="iou"
e2c6bedc6b73 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/background_removal commit 004112ac8c2ebcdb9763096df440227fda174ae3
imgteam
parents:
diff changeset
24 token_eps="0.01"
e2c6bedc6b73 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/background_removal commit 004112ac8c2ebcdb9763096df440227fda174ae3
imgteam
parents:
diff changeset
25 token_pin_labels="0">
e2c6bedc6b73 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/background_removal commit 004112ac8c2ebcdb9763096df440227fda174ae3
imgteam
parents:
diff changeset
26
e2c6bedc6b73 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/background_removal commit 004112ac8c2ebcdb9763096df440227fda174ae3
imgteam
parents:
diff changeset
27 <output name="@NAME@" value="@VALUE@" ftype="@FTYPE@" compare="image_diff" metric="@METRIC@" eps="@EPS@" pin_labels="@PIN_LABELS@">
e2c6bedc6b73 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/background_removal commit 004112ac8c2ebcdb9763096df440227fda174ae3
imgteam
parents:
diff changeset
28 <assert_contents>
e2c6bedc6b73 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/background_removal commit 004112ac8c2ebcdb9763096df440227fda174ae3
imgteam
parents:
diff changeset
29 <yield/>
e2c6bedc6b73 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/background_removal commit 004112ac8c2ebcdb9763096df440227fda174ae3
imgteam
parents:
diff changeset
30 </assert_contents>
e2c6bedc6b73 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/background_removal commit 004112ac8c2ebcdb9763096df440227fda174ae3
imgteam
parents:
diff changeset
31 </output>
e2c6bedc6b73 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/background_removal commit 004112ac8c2ebcdb9763096df440227fda174ae3
imgteam
parents:
diff changeset
32
e2c6bedc6b73 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/background_removal commit 004112ac8c2ebcdb9763096df440227fda174ae3
imgteam
parents:
diff changeset
33 </xml>
e2c6bedc6b73 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/background_removal commit 004112ac8c2ebcdb9763096df440227fda174ae3
imgteam
parents:
diff changeset
34
e2c6bedc6b73 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/background_removal commit 004112ac8c2ebcdb9763096df440227fda174ae3
imgteam
parents:
diff changeset
35 <xml
e2c6bedc6b73 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/background_removal commit 004112ac8c2ebcdb9763096df440227fda174ae3
imgteam
parents:
diff changeset
36 name="tests/intensity_image_diff"
e2c6bedc6b73 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/background_removal commit 004112ac8c2ebcdb9763096df440227fda174ae3
imgteam
parents:
diff changeset
37 tokens="name,value,ftype,metric,eps"
e2c6bedc6b73 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/background_removal commit 004112ac8c2ebcdb9763096df440227fda174ae3
imgteam
parents:
diff changeset
38 token_metric="rms"
e2c6bedc6b73 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/background_removal commit 004112ac8c2ebcdb9763096df440227fda174ae3
imgteam
parents:
diff changeset
39 token_eps="0.01">
e2c6bedc6b73 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/background_removal commit 004112ac8c2ebcdb9763096df440227fda174ae3
imgteam
parents:
diff changeset
40
e2c6bedc6b73 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/background_removal commit 004112ac8c2ebcdb9763096df440227fda174ae3
imgteam
parents:
diff changeset
41 <output name="@NAME@" value="@VALUE@" ftype="@FTYPE@" compare="image_diff" metric="@METRIC@" eps="@EPS@">
e2c6bedc6b73 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/background_removal commit 004112ac8c2ebcdb9763096df440227fda174ae3
imgteam
parents:
diff changeset
42 <assert_contents>
e2c6bedc6b73 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/background_removal commit 004112ac8c2ebcdb9763096df440227fda174ae3
imgteam
parents:
diff changeset
43 <yield/>
e2c6bedc6b73 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/background_removal commit 004112ac8c2ebcdb9763096df440227fda174ae3
imgteam
parents:
diff changeset
44 </assert_contents>
e2c6bedc6b73 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/background_removal commit 004112ac8c2ebcdb9763096df440227fda174ae3
imgteam
parents:
diff changeset
45 </output>
e2c6bedc6b73 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/background_removal commit 004112ac8c2ebcdb9763096df440227fda174ae3
imgteam
parents:
diff changeset
46
e2c6bedc6b73 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/background_removal commit 004112ac8c2ebcdb9763096df440227fda174ae3
imgteam
parents:
diff changeset
47 </xml>
e2c6bedc6b73 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/background_removal commit 004112ac8c2ebcdb9763096df440227fda174ae3
imgteam
parents:
diff changeset
48
e2c6bedc6b73 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/background_removal commit 004112ac8c2ebcdb9763096df440227fda174ae3
imgteam
parents:
diff changeset
49 <!-- Variants of the above for verification of collection elements -->
e2c6bedc6b73 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/background_removal commit 004112ac8c2ebcdb9763096df440227fda174ae3
imgteam
parents:
diff changeset
50
e2c6bedc6b73 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/background_removal commit 004112ac8c2ebcdb9763096df440227fda174ae3
imgteam
parents:
diff changeset
51 <xml
e2c6bedc6b73 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/background_removal commit 004112ac8c2ebcdb9763096df440227fda174ae3
imgteam
parents:
diff changeset
52 name="tests/binary_image_diff/element"
e2c6bedc6b73 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/background_removal commit 004112ac8c2ebcdb9763096df440227fda174ae3
imgteam
parents:
diff changeset
53 tokens="name,value,ftype,metric,eps"
e2c6bedc6b73 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/background_removal commit 004112ac8c2ebcdb9763096df440227fda174ae3
imgteam
parents:
diff changeset
54 token_metric="mae"
e2c6bedc6b73 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/background_removal commit 004112ac8c2ebcdb9763096df440227fda174ae3
imgteam
parents:
diff changeset
55 token_eps="0.01">
e2c6bedc6b73 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/background_removal commit 004112ac8c2ebcdb9763096df440227fda174ae3
imgteam
parents:
diff changeset
56
e2c6bedc6b73 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/background_removal commit 004112ac8c2ebcdb9763096df440227fda174ae3
imgteam
parents:
diff changeset
57 <element name="@NAME@" value="@VALUE@" ftype="@FTYPE@" compare="image_diff" metric="@METRIC@" eps="@EPS@" pin_labels="0">
e2c6bedc6b73 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/background_removal commit 004112ac8c2ebcdb9763096df440227fda174ae3
imgteam
parents:
diff changeset
58 <assert_contents>
e2c6bedc6b73 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/background_removal commit 004112ac8c2ebcdb9763096df440227fda174ae3
imgteam
parents:
diff changeset
59 <has_image_n_labels n="2"/>
e2c6bedc6b73 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/background_removal commit 004112ac8c2ebcdb9763096df440227fda174ae3
imgteam
parents:
diff changeset
60 <yield/>
e2c6bedc6b73 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/background_removal commit 004112ac8c2ebcdb9763096df440227fda174ae3
imgteam
parents:
diff changeset
61 </assert_contents>
e2c6bedc6b73 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/background_removal commit 004112ac8c2ebcdb9763096df440227fda174ae3
imgteam
parents:
diff changeset
62 </element>
e2c6bedc6b73 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/background_removal commit 004112ac8c2ebcdb9763096df440227fda174ae3
imgteam
parents:
diff changeset
63
e2c6bedc6b73 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/background_removal commit 004112ac8c2ebcdb9763096df440227fda174ae3
imgteam
parents:
diff changeset
64 </xml>
e2c6bedc6b73 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/background_removal commit 004112ac8c2ebcdb9763096df440227fda174ae3
imgteam
parents:
diff changeset
65
e2c6bedc6b73 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/background_removal commit 004112ac8c2ebcdb9763096df440227fda174ae3
imgteam
parents:
diff changeset
66 <xml
e2c6bedc6b73 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/background_removal commit 004112ac8c2ebcdb9763096df440227fda174ae3
imgteam
parents:
diff changeset
67 name="tests/label_image_diff/element"
e2c6bedc6b73 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/background_removal commit 004112ac8c2ebcdb9763096df440227fda174ae3
imgteam
parents:
diff changeset
68 tokens="name,value,ftype,metric,eps"
e2c6bedc6b73 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/background_removal commit 004112ac8c2ebcdb9763096df440227fda174ae3
imgteam
parents:
diff changeset
69 token_metric="iou"
e2c6bedc6b73 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/background_removal commit 004112ac8c2ebcdb9763096df440227fda174ae3
imgteam
parents:
diff changeset
70 token_eps="0.01"
e2c6bedc6b73 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/background_removal commit 004112ac8c2ebcdb9763096df440227fda174ae3
imgteam
parents:
diff changeset
71 token_pin_labels="0">
e2c6bedc6b73 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/background_removal commit 004112ac8c2ebcdb9763096df440227fda174ae3
imgteam
parents:
diff changeset
72
e2c6bedc6b73 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/background_removal commit 004112ac8c2ebcdb9763096df440227fda174ae3
imgteam
parents:
diff changeset
73 <element name="@NAME@" value="@VALUE@" ftype="@FTYPE@" compare="image_diff" metric="@METRIC@" eps="@EPS@" pin_labels="@PIN_LABELS@">
e2c6bedc6b73 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/background_removal commit 004112ac8c2ebcdb9763096df440227fda174ae3
imgteam
parents:
diff changeset
74 <assert_contents>
e2c6bedc6b73 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/background_removal commit 004112ac8c2ebcdb9763096df440227fda174ae3
imgteam
parents:
diff changeset
75 <yield/>
e2c6bedc6b73 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/background_removal commit 004112ac8c2ebcdb9763096df440227fda174ae3
imgteam
parents:
diff changeset
76 </assert_contents>
e2c6bedc6b73 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/background_removal commit 004112ac8c2ebcdb9763096df440227fda174ae3
imgteam
parents:
diff changeset
77 </element>
e2c6bedc6b73 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/background_removal commit 004112ac8c2ebcdb9763096df440227fda174ae3
imgteam
parents:
diff changeset
78
e2c6bedc6b73 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/background_removal commit 004112ac8c2ebcdb9763096df440227fda174ae3
imgteam
parents:
diff changeset
79 </xml>
e2c6bedc6b73 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/background_removal commit 004112ac8c2ebcdb9763096df440227fda174ae3
imgteam
parents:
diff changeset
80
e2c6bedc6b73 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/background_removal commit 004112ac8c2ebcdb9763096df440227fda174ae3
imgteam
parents:
diff changeset
81 <xml
e2c6bedc6b73 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/background_removal commit 004112ac8c2ebcdb9763096df440227fda174ae3
imgteam
parents:
diff changeset
82 name="tests/intensity_image_diff/element"
e2c6bedc6b73 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/background_removal commit 004112ac8c2ebcdb9763096df440227fda174ae3
imgteam
parents:
diff changeset
83 tokens="name,value,ftype,metric,eps"
e2c6bedc6b73 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/background_removal commit 004112ac8c2ebcdb9763096df440227fda174ae3
imgteam
parents:
diff changeset
84 token_metric="rms"
e2c6bedc6b73 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/background_removal commit 004112ac8c2ebcdb9763096df440227fda174ae3
imgteam
parents:
diff changeset
85 token_eps="0.01">
e2c6bedc6b73 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/background_removal commit 004112ac8c2ebcdb9763096df440227fda174ae3
imgteam
parents:
diff changeset
86
e2c6bedc6b73 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/background_removal commit 004112ac8c2ebcdb9763096df440227fda174ae3
imgteam
parents:
diff changeset
87 <element name="@NAME@" value="@VALUE@" ftype="@FTYPE@" compare="image_diff" metric="@METRIC@" eps="@EPS@">
e2c6bedc6b73 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/background_removal commit 004112ac8c2ebcdb9763096df440227fda174ae3
imgteam
parents:
diff changeset
88 <assert_contents>
e2c6bedc6b73 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/background_removal commit 004112ac8c2ebcdb9763096df440227fda174ae3
imgteam
parents:
diff changeset
89 <yield/>
e2c6bedc6b73 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/background_removal commit 004112ac8c2ebcdb9763096df440227fda174ae3
imgteam
parents:
diff changeset
90 </assert_contents>
e2c6bedc6b73 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/background_removal commit 004112ac8c2ebcdb9763096df440227fda174ae3
imgteam
parents:
diff changeset
91 </element>
e2c6bedc6b73 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/background_removal commit 004112ac8c2ebcdb9763096df440227fda174ae3
imgteam
parents:
diff changeset
92
e2c6bedc6b73 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/background_removal commit 004112ac8c2ebcdb9763096df440227fda174ae3
imgteam
parents:
diff changeset
93 </xml>
e2c6bedc6b73 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/background_removal commit 004112ac8c2ebcdb9763096df440227fda174ae3
imgteam
parents:
diff changeset
94
e2c6bedc6b73 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/background_removal commit 004112ac8c2ebcdb9763096df440227fda174ae3
imgteam
parents:
diff changeset
95 </macros>