Mercurial > repos > iuc > imagej2_convert_format
diff imagej2_convert_format.py @ 4:7a8b05b111f9 draft
planemo upload commit 18df9e67efd4adafcde4eb9b62cd815e4afe9733-dirty
| author | iuc |
|---|---|
| date | Wed, 26 Aug 2015 14:37:12 -0400 |
| parents | 14d09b0ab9e1 |
| children |
line wrap: on
line diff
--- a/imagej2_convert_format.py Tue Aug 04 11:15:04 2015 -0400 +++ b/imagej2_convert_format.py Wed Aug 26 14:37:12 2015 -0400 @@ -8,15 +8,12 @@ parser = argparse.ArgumentParser() parser.add_argument( '--in_fname', dest='in_fname', help='Path to the input file' ) parser.add_argument( '--input_datatype', dest='input_datatype', help='Input image datatype' ) - parser.add_argument( '--max_heap_size_type', dest='max_heap_size_type', help='Type (default or megabytes) of max_heap_size value' ) - parser.add_argument( '--max_heap_size', dest='max_heap_size', help='Maximum size of the memory allocation pool used by the JVM.' ) parser.add_argument( '--output_datatype', dest='output_datatype', help='Output image datatype' ) parser.add_argument( '--out_fname', help='Path to the output file' ) args = parser.parse_args() - # Set the size of the memory allocation pool used by the JVM. - max_heap_size = imagej2_base_utils.get_max_heap_size_value( args.max_heap_size_type, args.max_heap_size ) + # Start the JVM via the Javabridge. - imagej2_utils.start_vm( args=None, class_path=None, max_heap_size=max_heap_size, run_headless=True ) + imagej2_utils.start_vm( args=None, class_path=None, max_heap_size=None, run_headless=True ) try: tmp_dir = imagej2_base_utils.get_temp_dir() in_image_path = imagej2_base_utils.get_input_image_path( tmp_dir, args.in_fname, args.input_datatype )
