Mercurial > repos > ximgchess > chap_test_20230411
annotate tomo/tomo_reduce.xml @ 118:c90f17a31ed5 draft
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 6697892ecc504b00077394d0c167431ec3ac12f7-dirty
| author | ximgchess |
|---|---|
| date | Tue, 30 May 2023 14:29:40 +0000 |
| parents | 7280ef006c96 |
| children | 1d40ef04d7ec |
| rev | line source |
|---|---|
|
1
84a215623d9e
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit f4980be19456f3f51758e06e2eb7520924ce1e3a
ximgchess
parents:
diff
changeset
|
1 <tool id="CHAP_tomo_reduce" name="Tomo Reduce" version="@TOOL_VERSION@+galaxy0" profile="@PROFILE@" python_template_version="@PYTHON_TEMPLATE_VERSION@"> |
|
84a215623d9e
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit f4980be19456f3f51758e06e2eb7520924ce1e3a
ximgchess
parents:
diff
changeset
|
2 <description>Reduce tomography images</description> |
|
84a215623d9e
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit f4980be19456f3f51758e06e2eb7520924ce1e3a
ximgchess
parents:
diff
changeset
|
3 <macros> |
|
84a215623d9e
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit f4980be19456f3f51758e06e2eb7520924ce1e3a
ximgchess
parents:
diff
changeset
|
4 <import>tomo_macros.xml</import> |
|
84a215623d9e
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit f4980be19456f3f51758e06e2eb7520924ce1e3a
ximgchess
parents:
diff
changeset
|
5 </macros> |
|
84a215623d9e
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit f4980be19456f3f51758e06e2eb7520924ce1e3a
ximgchess
parents:
diff
changeset
|
6 <expand macro="requirements"/> |
|
84a215623d9e
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit f4980be19456f3f51758e06e2eb7520924ce1e3a
ximgchess
parents:
diff
changeset
|
7 <command detect_errors="exit_code"> |
|
25
99598d07fe7f
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 3e8c1c54d5e12fdbc4f6c5cdae88b6d054db7c45-dirty
ximgchess
parents:
24
diff
changeset
|
8 <![CDATA[ |
|
88
c1ab13b9bd0a
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 68cb427ae89554b84bb7eb9f1ff9ab1497539208-dirty
ximgchess
parents:
87
diff
changeset
|
9 mkdir tomo_reduce_plots; |
|
83
9b6e931e0de0
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 64d735e72badb6466fcf32843328300887a4a46e-dirty
ximgchess
parents:
82
diff
changeset
|
10 #if str($map.type_selector) == "yaml" |
|
9b6e931e0de0
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 64d735e72badb6466fcf32843328300887a4a46e-dirty
ximgchess
parents:
82
diff
changeset
|
11 cp $input_file map.yaml && |
|
103
b67b9979ff74
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 01388c69776c82e48e84676a3d17d4623f5e08bd-dirty
ximgchess
parents:
102
diff
changeset
|
12 #if str($map.detector.type_selector) == "from_file" |
|
b67b9979ff74
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 01388c69776c82e48e84676a3d17d4623f5e08bd-dirty
ximgchess
parents:
102
diff
changeset
|
13 cat $map.detector.detector_file $tool_config > reduce.yaml && |
|
112
c610d3babadc
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 6697892ecc504b00077394d0c167431ec3ac12f7-dirty
ximgchess
parents:
111
diff
changeset
|
14 #elif str($map.detector.type_selector) == "manual" |
|
c610d3babadc
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 6697892ecc504b00077394d0c167431ec3ac12f7-dirty
ximgchess
parents:
111
diff
changeset
|
15 cat $tool_config > reduce.yaml && |
|
103
b67b9979ff74
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 01388c69776c82e48e84676a3d17d4623f5e08bd-dirty
ximgchess
parents:
102
diff
changeset
|
16 #else |
|
b67b9979ff74
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 01388c69776c82e48e84676a3d17d4623f5e08bd-dirty
ximgchess
parents:
102
diff
changeset
|
17 cat $__tool_directory__/$map.detector.type_selector $tool_config > reduce.yaml && |
|
b67b9979ff74
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 01388c69776c82e48e84676a3d17d4623f5e08bd-dirty
ximgchess
parents:
102
diff
changeset
|
18 #end if |
|
83
9b6e931e0de0
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 64d735e72badb6466fcf32843328300887a4a46e-dirty
ximgchess
parents:
82
diff
changeset
|
19 #else |
|
9b6e931e0de0
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 64d735e72badb6466fcf32843328300887a4a46e-dirty
ximgchess
parents:
82
diff
changeset
|
20 cp $input_file setup.nex && |
|
9b6e931e0de0
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 64d735e72badb6466fcf32843328300887a4a46e-dirty
ximgchess
parents:
82
diff
changeset
|
21 cp $tool_config reduce.yaml && |
|
9b6e931e0de0
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 64d735e72badb6466fcf32843328300887a4a46e-dirty
ximgchess
parents:
82
diff
changeset
|
22 #end if |
|
9b6e931e0de0
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 64d735e72badb6466fcf32843328300887a4a46e-dirty
ximgchess
parents:
82
diff
changeset
|
23 CHAP --config |
|
9b6e931e0de0
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 64d735e72badb6466fcf32843328300887a4a46e-dirty
ximgchess
parents:
82
diff
changeset
|
24 #if str($map.type_selector) == "yaml" |
|
9b6e931e0de0
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 64d735e72badb6466fcf32843328300887a4a46e-dirty
ximgchess
parents:
82
diff
changeset
|
25 $__tool_directory__/pipeline_reduce_yaml.yaml |
|
9b6e931e0de0
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 64d735e72badb6466fcf32843328300887a4a46e-dirty
ximgchess
parents:
82
diff
changeset
|
26 #else |
|
9b6e931e0de0
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 64d735e72badb6466fcf32843328300887a4a46e-dirty
ximgchess
parents:
82
diff
changeset
|
27 $__tool_directory__/pipeline_reduce_nexus.yaml |
|
9b6e931e0de0
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 64d735e72badb6466fcf32843328300887a4a46e-dirty
ximgchess
parents:
82
diff
changeset
|
28 #end if |
|
1
84a215623d9e
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit f4980be19456f3f51758e06e2eb7520924ce1e3a
ximgchess
parents:
diff
changeset
|
29 ]]> |
|
84a215623d9e
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit f4980be19456f3f51758e06e2eb7520924ce1e3a
ximgchess
parents:
diff
changeset
|
30 </command> |
|
84a215623d9e
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit f4980be19456f3f51758e06e2eb7520924ce1e3a
ximgchess
parents:
diff
changeset
|
31 <configfiles> |
|
84a215623d9e
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit f4980be19456f3f51758e06e2eb7520924ce1e3a
ximgchess
parents:
diff
changeset
|
32 <configfile name="tool_config"> |
|
23
530ccdd4cb8c
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 3e8c1c54d5e12fdbc4f6c5cdae88b6d054db7c45-dirty
ximgchess
parents:
22
diff
changeset
|
33 <![CDATA[#slurp |
|
105
4205395a6091
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 6697892ecc504b00077394d0c167431ec3ac12f7-dirty
ximgchess
parents:
103
diff
changeset
|
34 #if str($map.detector.type_selector) == "manual" |
|
4205395a6091
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 6697892ecc504b00077394d0c167431ec3ac12f7-dirty
ximgchess
parents:
103
diff
changeset
|
35 #echo 'detector:' # |
|
111
e319f10f14c2
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 6697892ecc504b00077394d0c167431ec3ac12f7-dirty
ximgchess
parents:
110
diff
changeset
|
36 #echo ' prefix: ' + str($map.detector.prefix) # |
|
110
ce8253f365d3
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 6697892ecc504b00077394d0c167431ec3ac12f7-dirty
ximgchess
parents:
109
diff
changeset
|
37 #echo ' rows: ' + str($map.detector.rows) # |
|
ce8253f365d3
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 6697892ecc504b00077394d0c167431ec3ac12f7-dirty
ximgchess
parents:
109
diff
changeset
|
38 #echo ' columns: ' + str($map.detector.columns) # |
|
105
4205395a6091
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 6697892ecc504b00077394d0c167431ec3ac12f7-dirty
ximgchess
parents:
103
diff
changeset
|
39 #echo ' pixel_size:' # |
|
109
26a4eb159e88
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 6697892ecc504b00077394d0c167431ec3ac12f7-dirty
ximgchess
parents:
108
diff
changeset
|
40 #echo ' - ' + str($map.detector.x_pixelsize) # |
|
26a4eb159e88
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 6697892ecc504b00077394d0c167431ec3ac12f7-dirty
ximgchess
parents:
108
diff
changeset
|
41 #echo ' - ' + str($map.detector.y_pixelsize) # |
|
110
ce8253f365d3
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 6697892ecc504b00077394d0c167431ec3ac12f7-dirty
ximgchess
parents:
109
diff
changeset
|
42 #echo ' lens_magnification: ' + str($map.detector.lens_magnification) # |
|
105
4205395a6091
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 6697892ecc504b00077394d0c167431ec3ac12f7-dirty
ximgchess
parents:
103
diff
changeset
|
43 #end if |
|
116
7280ef006c96
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 6697892ecc504b00077394d0c167431ec3ac12f7-dirty
ximgchess
parents:
115
diff
changeset
|
44 #if str($img_x_bounds.type_selector) == "enter_range" |
|
62
2679014bb6eb
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit e280dd942513f966a9a61a3af68ee7972fb8992f-dirty
ximgchess
parents:
61
diff
changeset
|
45 #echo 'img_x_bounds:' # |
|
2679014bb6eb
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit e280dd942513f966a9a61a3af68ee7972fb8992f-dirty
ximgchess
parents:
61
diff
changeset
|
46 #echo '- ' + str($img_x_bounds.low) # |
|
2679014bb6eb
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit e280dd942513f966a9a61a3af68ee7972fb8992f-dirty
ximgchess
parents:
61
diff
changeset
|
47 #echo '- ' + str($img_x_bounds.upp) # |
|
2679014bb6eb
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit e280dd942513f966a9a61a3af68ee7972fb8992f-dirty
ximgchess
parents:
61
diff
changeset
|
48 #end if |
|
1
84a215623d9e
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit f4980be19456f3f51758e06e2eb7520924ce1e3a
ximgchess
parents:
diff
changeset
|
49 ]]> |
|
84a215623d9e
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit f4980be19456f3f51758e06e2eb7520924ce1e3a
ximgchess
parents:
diff
changeset
|
50 </configfile> |
|
84a215623d9e
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit f4980be19456f3f51758e06e2eb7520924ce1e3a
ximgchess
parents:
diff
changeset
|
51 </configfiles> |
|
84a215623d9e
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit f4980be19456f3f51758e06e2eb7520924ce1e3a
ximgchess
parents:
diff
changeset
|
52 <inputs> |
|
84a215623d9e
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit f4980be19456f3f51758e06e2eb7520924ce1e3a
ximgchess
parents:
diff
changeset
|
53 <conditional name="map"> |
|
84a215623d9e
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit f4980be19456f3f51758e06e2eb7520924ce1e3a
ximgchess
parents:
diff
changeset
|
54 <param name="type_selector" type="select" display="radio" label="Choose map file type"> |
|
84a215623d9e
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit f4980be19456f3f51758e06e2eb7520924ce1e3a
ximgchess
parents:
diff
changeset
|
55 <option value="yaml">YAML</option> |
|
84a215623d9e
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit f4980be19456f3f51758e06e2eb7520924ce1e3a
ximgchess
parents:
diff
changeset
|
56 <option value="nexus">NeXus</option> |
|
84a215623d9e
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit f4980be19456f3f51758e06e2eb7520924ce1e3a
ximgchess
parents:
diff
changeset
|
57 </param> |
|
84a215623d9e
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit f4980be19456f3f51758e06e2eb7520924ce1e3a
ximgchess
parents:
diff
changeset
|
58 <when value="yaml"> |
|
84a215623d9e
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit f4980be19456f3f51758e06e2eb7520924ce1e3a
ximgchess
parents:
diff
changeset
|
59 <param name="input_file" type="data" format="yaml" optional="false" label="Map config file"/> |
|
84a215623d9e
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit f4980be19456f3f51758e06e2eb7520924ce1e3a
ximgchess
parents:
diff
changeset
|
60 <conditional name="detector"> |
|
103
b67b9979ff74
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 01388c69776c82e48e84676a3d17d4623f5e08bd-dirty
ximgchess
parents:
102
diff
changeset
|
61 <param name="type_selector" type="select" display="radio" label="Choose detector"> |
|
78
d0bc5f9dc4c9
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 64d735e72badb6466fcf32843328300887a4a46e-dirty
ximgchess
parents:
77
diff
changeset
|
62 <option value="andor2.yaml">andor2</option> |
|
d0bc5f9dc4c9
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 64d735e72badb6466fcf32843328300887a4a46e-dirty
ximgchess
parents:
77
diff
changeset
|
63 <option value="manta.yaml">manta</option> |
|
d0bc5f9dc4c9
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 64d735e72badb6466fcf32843328300887a4a46e-dirty
ximgchess
parents:
77
diff
changeset
|
64 <option value="retiga.yaml">retiga</option> |
|
105
4205395a6091
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 6697892ecc504b00077394d0c167431ec3ac12f7-dirty
ximgchess
parents:
103
diff
changeset
|
65 <option value="manual">enter manually</option> |
|
103
b67b9979ff74
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 01388c69776c82e48e84676a3d17d4623f5e08bd-dirty
ximgchess
parents:
102
diff
changeset
|
66 <option value="from_file">from file</option> |
|
1
84a215623d9e
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit f4980be19456f3f51758e06e2eb7520924ce1e3a
ximgchess
parents:
diff
changeset
|
67 </param> |
|
79
7638a2c68b7f
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 64d735e72badb6466fcf32843328300887a4a46e-dirty
ximgchess
parents:
78
diff
changeset
|
68 <when value="andor2.yaml"/> |
|
7638a2c68b7f
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 64d735e72badb6466fcf32843328300887a4a46e-dirty
ximgchess
parents:
78
diff
changeset
|
69 <when value="manta.yaml"/> |
|
7638a2c68b7f
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 64d735e72badb6466fcf32843328300887a4a46e-dirty
ximgchess
parents:
78
diff
changeset
|
70 <when value="retiga.yaml"/> |
|
105
4205395a6091
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 6697892ecc504b00077394d0c167431ec3ac12f7-dirty
ximgchess
parents:
103
diff
changeset
|
71 <when value="manual"> |
|
4205395a6091
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 6697892ecc504b00077394d0c167431ec3ac12f7-dirty
ximgchess
parents:
103
diff
changeset
|
72 <param name="prefix" type="text" label="Detector prefix in SPEC file"/> |
|
114
a1c829c11fef
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 6697892ecc504b00077394d0c167431ec3ac12f7-dirty
ximgchess
parents:
113
diff
changeset
|
73 <param name="rows" type="integer" value="" optional="false" min="1" label="Number of pixel rows on detector"/> |
|
a1c829c11fef
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 6697892ecc504b00077394d0c167431ec3ac12f7-dirty
ximgchess
parents:
113
diff
changeset
|
74 <param name="columns" type="integer" value="" optional="false" min="1" label="Number of pixel columns on detector"/> |
|
a1c829c11fef
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 6697892ecc504b00077394d0c167431ec3ac12f7-dirty
ximgchess
parents:
113
diff
changeset
|
75 <param name="x_pixelsize" type="float" value="" optional="false" min="0.0" label="Row pixel size of detector in mm"/> |
|
a1c829c11fef
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 6697892ecc504b00077394d0c167431ec3ac12f7-dirty
ximgchess
parents:
113
diff
changeset
|
76 <param name="y_pixelsize" type="float" value="" optional="false" min="0.0" label="Column pixel size of detector in mm"/> |
|
105
4205395a6091
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 6697892ecc504b00077394d0c167431ec3ac12f7-dirty
ximgchess
parents:
103
diff
changeset
|
77 <param name="lens_magnification" type="float" value="1.0" optional="true" label="Detector lens magnification"/> |
|
4205395a6091
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 6697892ecc504b00077394d0c167431ec3ac12f7-dirty
ximgchess
parents:
103
diff
changeset
|
78 </when> |
|
103
b67b9979ff74
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 01388c69776c82e48e84676a3d17d4623f5e08bd-dirty
ximgchess
parents:
102
diff
changeset
|
79 <when value="from_file"> |
|
b67b9979ff74
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 01388c69776c82e48e84676a3d17d4623f5e08bd-dirty
ximgchess
parents:
102
diff
changeset
|
80 <param name="detector_file" type="data" format="yaml" optional="false" label="Detector config file"/> |
|
b67b9979ff74
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 01388c69776c82e48e84676a3d17d4623f5e08bd-dirty
ximgchess
parents:
102
diff
changeset
|
81 </when> |
|
1
84a215623d9e
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit f4980be19456f3f51758e06e2eb7520924ce1e3a
ximgchess
parents:
diff
changeset
|
82 </conditional> |
|
84a215623d9e
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit f4980be19456f3f51758e06e2eb7520924ce1e3a
ximgchess
parents:
diff
changeset
|
83 </when> |
|
84a215623d9e
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit f4980be19456f3f51758e06e2eb7520924ce1e3a
ximgchess
parents:
diff
changeset
|
84 <when value="nexus"> |
|
84a215623d9e
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit f4980be19456f3f51758e06e2eb7520924ce1e3a
ximgchess
parents:
diff
changeset
|
85 <param name="input_file" type="data" format="nex" optional="false" label="Tomography setup file"/> |
|
84a215623d9e
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit f4980be19456f3f51758e06e2eb7520924ce1e3a
ximgchess
parents:
diff
changeset
|
86 </when> |
|
84a215623d9e
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit f4980be19456f3f51758e06e2eb7520924ce1e3a
ximgchess
parents:
diff
changeset
|
87 </conditional> |
|
84a215623d9e
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit f4980be19456f3f51758e06e2eb7520924ce1e3a
ximgchess
parents:
diff
changeset
|
88 <conditional name="img_x_bounds"> |
|
84a215623d9e
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit f4980be19456f3f51758e06e2eb7520924ce1e3a
ximgchess
parents:
diff
changeset
|
89 <param name="type_selector" type="select" label="Choose vertical detector image bounds"> |
|
84a215623d9e
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit f4980be19456f3f51758e06e2eb7520924ce1e3a
ximgchess
parents:
diff
changeset
|
90 <option value="full_range" selected="true">Use the full image range</option> |
|
84a215623d9e
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit f4980be19456f3f51758e06e2eb7520924ce1e3a
ximgchess
parents:
diff
changeset
|
91 <option value="enter_range">Manually enter the image range</option> |
|
84a215623d9e
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit f4980be19456f3f51758e06e2eb7520924ce1e3a
ximgchess
parents:
diff
changeset
|
92 </param> |
|
84a215623d9e
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit f4980be19456f3f51758e06e2eb7520924ce1e3a
ximgchess
parents:
diff
changeset
|
93 <when value="full_range"/> |
|
84a215623d9e
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit f4980be19456f3f51758e06e2eb7520924ce1e3a
ximgchess
parents:
diff
changeset
|
94 <when value="enter_range"> |
|
115
da7522d77581
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 6697892ecc504b00077394d0c167431ec3ac12f7-dirty
ximgchess
parents:
114
diff
changeset
|
95 <param name="low" type="integer" value="" optional="false" min="0" label="Lower image range index"/> |
|
da7522d77581
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 6697892ecc504b00077394d0c167431ec3ac12f7-dirty
ximgchess
parents:
114
diff
changeset
|
96 <param name="upp" type="integer" value="" optional="false" min="0" label="Upper image range index"/> |
|
1
84a215623d9e
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit f4980be19456f3f51758e06e2eb7520924ce1e3a
ximgchess
parents:
diff
changeset
|
97 </when> |
|
84a215623d9e
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit f4980be19456f3f51758e06e2eb7520924ce1e3a
ximgchess
parents:
diff
changeset
|
98 </conditional> |
|
84a215623d9e
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit f4980be19456f3f51758e06e2eb7520924ce1e3a
ximgchess
parents:
diff
changeset
|
99 </inputs> |
|
84a215623d9e
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit f4980be19456f3f51758e06e2eb7520924ce1e3a
ximgchess
parents:
diff
changeset
|
100 <outputs> |
|
9
2ff8120ca4d4
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 3e8c1c54d5e12fdbc4f6c5cdae88b6d054db7c45-dirty
ximgchess
parents:
8
diff
changeset
|
101 <data name="tool_config" format="yaml" label="Tool config" from_work_dir="reduce.yaml" hidden="false"/> |
|
60
3a9135044f14
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit eda217fb0afe5af50380a24b578c668db9c004f4-dirty
ximgchess
parents:
59
diff
changeset
|
102 <collection name="tomo_reduce_plots" type="list" label="Data reduction images"> |
|
3a9135044f14
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit eda217fb0afe5af50380a24b578c668db9c004f4-dirty
ximgchess
parents:
59
diff
changeset
|
103 <discover_datasets pattern="__name_and_ext__" directory="tomo_reduce_plots"/> |
|
3a9135044f14
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit eda217fb0afe5af50380a24b578c668db9c004f4-dirty
ximgchess
parents:
59
diff
changeset
|
104 </collection> |
|
3a9135044f14
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit eda217fb0afe5af50380a24b578c668db9c004f4-dirty
ximgchess
parents:
59
diff
changeset
|
105 <data name="output_file" format="nex" label="Reduced tomography data" from_work_dir="output.nex"/> |
|
1
84a215623d9e
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit f4980be19456f3f51758e06e2eb7520924ce1e3a
ximgchess
parents:
diff
changeset
|
106 </outputs> |
|
84a215623d9e
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit f4980be19456f3f51758e06e2eb7520924ce1e3a
ximgchess
parents:
diff
changeset
|
107 <help> |
|
84a215623d9e
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit f4980be19456f3f51758e06e2eb7520924ce1e3a
ximgchess
parents:
diff
changeset
|
108 <![CDATA[ |
|
84a215623d9e
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit f4980be19456f3f51758e06e2eb7520924ce1e3a
ximgchess
parents:
diff
changeset
|
109 usage: PROG [-h] [--config CONFIG] [--verbose] |
|
84a215623d9e
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit f4980be19456f3f51758e06e2eb7520924ce1e3a
ximgchess
parents:
diff
changeset
|
110 |
|
84a215623d9e
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit f4980be19456f3f51758e06e2eb7520924ce1e3a
ximgchess
parents:
diff
changeset
|
111 options: |
|
84a215623d9e
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit f4980be19456f3f51758e06e2eb7520924ce1e3a
ximgchess
parents:
diff
changeset
|
112 -h, --help show this help message and exit |
|
84a215623d9e
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit f4980be19456f3f51758e06e2eb7520924ce1e3a
ximgchess
parents:
diff
changeset
|
113 --config CONFIG Input configuration file |
|
84a215623d9e
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit f4980be19456f3f51758e06e2eb7520924ce1e3a
ximgchess
parents:
diff
changeset
|
114 --verbose verbose output |
|
84a215623d9e
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit f4980be19456f3f51758e06e2eb7520924ce1e3a
ximgchess
parents:
diff
changeset
|
115 |
|
84a215623d9e
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit f4980be19456f3f51758e06e2eb7520924ce1e3a
ximgchess
parents:
diff
changeset
|
116 ]]> |
|
84a215623d9e
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit f4980be19456f3f51758e06e2eb7520924ce1e3a
ximgchess
parents:
diff
changeset
|
117 </help> |
|
84a215623d9e
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit f4980be19456f3f51758e06e2eb7520924ce1e3a
ximgchess
parents:
diff
changeset
|
118 <expand macro="citations"/> |
|
84a215623d9e
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit f4980be19456f3f51758e06e2eb7520924ce1e3a
ximgchess
parents:
diff
changeset
|
119 </tool> |
