Hey Melissa,
Good to hear you made some positive improvements in the code! I took the changes and merged them into the latest source and compiled with
- Code: Select all
'ant tools'
and it yielded a compiled loci_tools.jar. I then swapped out the .jar in the bftools dir and tried to run again which yielded the following error message,
[CellSens VSI] -> ../output.ome.tiff [OME-TIFF]
Exception in thread "main" loci.formats.FormatException: Image plane too large. Only 2GB of data can be extracted at one time. You can workaround the problem by opening the plane in tiles; for further details, see:
http://www.openmicroscopy.org/site/supp ... -this-mean at loci.formats.FormatReader.openBytes(FormatReader.java:760)
at loci.formats.ImageReader.openBytes(ImageReader.java:400)
at loci.formats.tools.ImageConverter.convertTilePlane(ImageConverter.java:549)
at loci.formats.tools.ImageConverter.convertPlane(ImageConverter.java:508)
at loci.formats.tools.ImageConverter.testConvert(ImageConverter.java:456)
at loci.formats.tools.ImageConverter.main(ImageConverter.java:640)
Caused by: java.lang.IllegalArgumentException: Invalid array size: 0 x 29 x 1 x 2
at loci.common.DataTools.safeMultiply32(DataTools.java:883)
at loci.common.DataTools.allocate(DataTools.java:862)
at loci.formats.FormatReader.openBytes(FormatReader.java:757)
To get around this error I edited the bfconvert to give java some more mem, 16384m to be exact but it still errors out. This box has 32GB of ram so it should be OK. Since the array size *isn't* negative I'm not sure where to go. I'm not 100% sure I patched correctly as well.
-J