comparison imagej2_make_binary.xml @ 1:d26f11339f08 draft

planemo upload commit 18df9e67efd4adafcde4eb9b62cd815e4afe9733-dirty
author iuc
date Wed, 26 Aug 2015 14:37:41 -0400
parents 66d9e595dff2
children c026d0eddc3e
comparison
equal deleted inserted replaced
0:66d9e595dff2 1:d26f11339f08
1 <?xml version='1.0' encoding='UTF-8'?> 1 <?xml version='1.0' encoding='UTF-8'?>
2 <tool id="imagej2_make_binary" name="Convert to binary" version="1.0.0"> 2 <tool id="imagej2_make_binary" name="Convert to binary" version="@WRAPPER_VERSION@.0">
3 <description>(black and white) with ImageJ2</description> 3 <description>(black and white) with ImageJ2</description>
4 <macros> 4 <macros>
5 <import>imagej2_macros.xml</import> 5 <import>imagej2_macros.xml</import>
6 </macros> 6 </macros>
7 <expand macro="fiji_20141125_requirements" /> 7 <expand macro="fiji_requirements" />
8 <command> 8 <command>
9 <![CDATA[ 9 <![CDATA[
10 python $__tool_directory__/imagej2_make_binary.py 10 python $__tool_directory__/imagej2_make_binary.py
11 --input "$input" 11 --input "$input"
12 --input_datatype $input.ext 12 --input_datatype $input.ext
13 @make_binary_args@ 13 @make_binary_args@
14 @max_heap_size_args@
15 --jython_script $__tool_directory__/jython_script.py 14 --jython_script $__tool_directory__/jython_script.py
16 --output_datatype $output_datatype 15 --output_datatype $output.ext
17 --output "$output" 16 --output "$output"
18 ]]> 17 ]]>
19 </command> 18 </command>
20 <inputs> 19 <inputs>
21 <param format="bmp,eps,gif,jpg,pcx,pgm,png,psd,tiff" name="input" type="data" label="Select image"/> 20 <param format="bmp,eps,gif,jpg,pcx,pgm,png,psd,tiff" name="input" type="data" label="Select image"/>
22 <expand macro="make_binary_params" /> 21 <expand macro="make_binary_params" />
23 <param name="output_datatype" type="select" label="Save as format">
24 <expand macro="image_datatypes" />
25 </param>
26 <expand macro="max_heap_size_type_conditional" />
27 </inputs> 22 </inputs>
28 <outputs> 23 <outputs>
29 <data name="output" format_source="input" label="${tool.name} on ${on_string}"> 24 <data name="output" format_source="input" label="${tool.name} on ${on_string}"/>
30 <actions>
31 <action type="format">
32 <option type="from_param" name="output_datatype" />
33 </action>
34 </actions>
35 </data>
36 </outputs> 25 </outputs>
37 <tests> 26 <tests>
38 <test> 27 <test>
39 <param name="input" value="clown.jpg" /> 28 <param name="input" value="clown.jpg" />
40 <param name="input_datatype" value="jpg" /> 29 <param name="input_datatype" value="jpg" />