[ome-devel] decreasing #planes twice

Grabmayr, Heinrich Heinrich.Grabmayr at ph.tum.de
Fri Jan 20 16:38:36 GMT 2012


Hi everybody,

I just encountered a problem:
Take an ometiff with several channels and several frames.
Use the loci-channel splitter to split frames and export one of them as an ometiff.
Open that (now, #T=1, #C=n) and split channels, save one of them.
Try to open that. Here I got an error message: 

java.lang.IllegalArgumentException: Invalid C index: -1/1
	at loci.formats.FormatTools.getIndex(FormatTools.java:304)
	at loci.formats.in.OMETiffReader.initFile(OMETiffReader.java:449)
	at loci.formats.FormatReader.setId(FormatReader.java:1058)
	at loci.plugins.in.ImportProcess.initializeFile(ImportProcess.java:475)
	at loci.plugins.in.ImportProcess.execute(ImportProcess.java:138)
	at loci.plugins.in.Importer.showDialogs(Importer.java:125)
	at loci.plugins.in.Importer.run(Importer.java:77)
	at loci.plugins.LociImporter.run(LociImporter.java:77)
	at ij.IJ.runUserPlugIn(IJ.java:183)
	at ij.IJ.runPlugIn(IJ.java:150)
	at ij.IJ.runPlugIn(IJ.java:139)
	at loci.plugins.shortcut.ShortcutPanel$1.run(ShortcutPanel.java:189)

I had this problem also when running my own matlab scripts that change dimension sizes. What is the problem there?

--Heinrich


More information about the ome-devel mailing list