Mercurial > repos > iuc > imagej2_create_image
changeset 2:ea7a01d0f218 draft
planemo upload commit 369e40078146d00608d52205bb8cee66ae735b76-dirty
| author | iuc |
|---|---|
| date | Fri, 26 Jun 2015 05:28:23 -0400 |
| parents | 26703988cdb3 |
| children | bb65623b90a8 |
| files | imagej2_base_utils.py imagej2_create_image.xml imagej2_macros.xml |
| diffstat | 3 files changed, 30 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/imagej2_base_utils.py Fri Jun 19 16:59:14 2015 -0400 +++ b/imagej2_base_utils.py Fri Jun 26 05:28:23 2015 -0400 @@ -95,7 +95,7 @@ if max_heap_size_type == 'default': return None if max_heap_size_type == 'megabytes': - if max_heap_size % 1024 not in [ 0, 256, 512 ]: + if int( max_heap_size ) % 1024 not in [ 0, 256, 512 ]: return None return '%sm' % str( max_heap_size ) if max_heap_size_type == 'gigabytes':
--- a/imagej2_create_image.xml Fri Jun 19 16:59:14 2015 -0400 +++ b/imagej2_create_image.xml Fri Jun 26 05:28:23 2015 -0400 @@ -13,8 +13,7 @@ --depth $depth --image_type $image_type --image_title "$image_title" - --max_heap_size_type $set_max_heap_size.max_heap_size_type - --max_heap_size $set_max_heap_size.max_heap_size + @max_heap_size_args@ --jython_script $__tool_directory__/jython_script.py --output_datatype $output_datatype --out_fname "$output"
--- a/imagej2_macros.xml Fri Jun 19 16:59:14 2015 -0400 +++ b/imagej2_macros.xml Fri Jun 26 05:28:23 2015 -0400 @@ -59,6 +59,10 @@ </when> </conditional> </xml> + <token name="@max_heap_size_args@"> + --max_heap_size_type $set_max_heap_size.max_heap_size_type + --max_heap_size $set_max_heap_size.max_heap_size + </token> <xml name="image_datatypes"> <option value="bmp">bmp</option> <option value="gif">gif</option> @@ -66,12 +70,35 @@ <option value="png" selected="true">png</option> <option value="tiff">tiff</option> </xml> + <xml name="bunwarpj_citations"> + <citations> + <citation type="bibtex"> + @InProceedings(Arganda-Carreras2006, + author = "Ignacio Arganda-Carreras and + Carlos Oscar S{\'a}nchez Sorzano and + Roberto Marabini and + Jos{\'e} Mar\'{\i}a Carazo and + Carlos Ortiz-de-Solorzano and + Jan Kybic", + title = "Consistent and Elastic Registration of Histological Sections Using Vector-Spline Regularization", + publisher = "Springer Berlin / Heidelberg", + booktitle = "Computer Vision Approaches to Medical Image Analysis", + series = "Lecture Notes in Computer Science", + year = "2006", + volume = "4241", + pages = "85-95", + month = "May", + city = "Graz, Austria") + </citation> + <citation type="doi">10.1038/nmeth.2019</citation> + </citations> + </xml> <xml name="fiji_headless_citations"> <citations> <citation type="doi">10.1038/nmeth.2102</citation> </citations> </xml> - <xml name="citations"> + <xml name="bioformats_fiji_javabridge_citations"> <citations> <citation type="doi">10.1038/nmeth.2102</citation> <citation type="doi">10.1038/nmeth.2019</citation>
