Mercurial > repos > iuc > imagej2_convert_format
diff imagej2_macros.xml @ 3:9a24b7e68010 draft
planemo upload commit 8f8692e83217a072a3ed928469621f1f606ab28a-dirty
| author | iuc |
|---|---|
| date | Tue, 04 Aug 2015 11:15:04 -0400 |
| parents | cf9ed4ef641d |
| children | 7a8b05b111f9 |
line wrap: on
line diff
--- a/imagej2_macros.xml Fri Jun 26 05:28:18 2015 -0400 +++ b/imagej2_macros.xml Tue Aug 04 11:15:04 2015 -0400 @@ -1,11 +1,11 @@ <?xml version='1.0' encoding='UTF-8'?> <macros> - <xml name="fiji_headless_requirements"> + <xml name="fiji_20141125_requirements"> <requirements> <requirement type="package" version="20141125">fiji</requirement> </requirements> </xml> - <xml name="python_bioformats_requirements"> + <xml name="python_bioformats_104_requirements"> <requirements> <requirement type="package" version="20141125">fiji</requirement> <requirement type="package" version="1.0.11">javabridge</requirement> @@ -41,6 +41,24 @@ <option value="RGB_ramp">RGB ramp</option> </param> </xml> + <xml name="make_binary_params"> + <param name="iterations" type="integer" value="1" min="1" max="100" label="Iterations" help="The number of times (1-100) erosion, dilation, opening, and closing are performed."/> + <param name="count" type="integer" value="1" min="1" max="8" label="Count" help="The number of adjacent background pixels necessary (1-8) for erosion or dilation."/> + <param name="black_background" type="select" label="Black background" help="If Yes, the background is black and the foreground is white (no implies the opposite)."> + <option value="no" selected="True">No</option> + <option value="yes">Yes</option> + </param> + <param name="pad_edges_when_eroding" type="select" label="Pad edges when eroding" help="If Yes, eroding does not erode from the edges of the image."> + <option value="no" selected="True">No</option> + <option value="yes">Yes</option> + </param> + </xml> + <token name="@make_binary_args@"> + --iterations $iterations + --count $count + --black_background $black_background + --pad_edges_when_eroding $pad_edges_when_eroding + </token> <xml name="max_heap_size_type_conditional"> <conditional name="set_max_heap_size"> <param name="max_heap_size_type" type="select" label="Maximum size of the memory allocation pool used by the JVM" help="This value must be a multiple of 1024 or it will be ignored and the system default will be used."> @@ -48,8 +66,8 @@ <option value="megabytes">Set in megabytes</option> <option value="gigabytes">Set in gigabytes</option> </param> - <when value="default"> - <param name="max_heap_size" type="integer" value="0" label="Do not set" help="Use system default"/> + <when value="default" > + <param name="max_heap_size" type="integer" value="0" hidden="true" label="Do not set" help="Use system default"/> </when> <when value="megabytes"> <param name="max_heap_size" type="integer" value="512" min="256" label="Maximum size, in megabytes, of the memory allocation pool" help="Examples: 256, 512, etc."/>
