diff --git a/components/formats-gpl/src/loci/formats/in/LIFReader.java b/components/formats-gpl/src/loci/formats/in/LIFReader.java index 9ea3f61c73c..c3a65c40ec5 100644 --- a/components/formats-gpl/src/loci/formats/in/LIFReader.java +++ b/components/formats-gpl/src/loci/formats/in/LIFReader.java @@ -573,23 +573,48 @@ protected void initFile(String id) throws FormatException, IOException { // correct offsets, if necessary if (offsets.size() > getSeriesCount()) { + LOGGER.debug("Adjusting image offsets; found {} expected {}", + offsets.size(), getSeriesCount()); Long[] storedOffsets = offsets.toArray(new Long[offsets.size()]); + for (int i=0; i