Changeset 6816


Ignore:
Timestamp:
08/18/10 15:33:15 (9 years ago)
Author:
melissa
Message:

Fixed hack from r6804 so that it won't throw an AIOOB exception.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/components/bio-formats/src/loci/formats/in/OMETiffReader.java

    r6804 r6816  
    555555        // hackish workaround for files exported by OMERO that have an 
    556556        // incorrect dimension order 
    557         if (meta.getChannelName(i, 0) == null && 
     557        if (meta.getChannelCount(i) > 0 && meta.getChannelName(i, 0) == null && 
     558          meta.getTiffDataCount(i) > 0 && 
    558559          meta.getUUIDFileName(i, 0).indexOf("__omero_export") != -1) 
    559560        { 
Note: See TracChangeset for help on using the changeset viewer.