Changeset 3102 for trunk


Ignore:
Timestamp:
08/24/07 15:05:29 (12 years ago)
Author:
curtis
Message:

Add hack to work around another WiscScan bug.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/loci/formats/in/OMETiffReader.java

    r3097 r3102  
    178178            Integer.parseInt(aNumPlanes); 
    179179 
     180          // HACK: adjust first values, if this file 
     181          // was written by a buggy version of WiscScan 
     182          if (firstZ >= core.sizeZ[0]) firstZ = core.sizeZ[0] - 1; 
     183          if (firstC >= core.sizeC[0]) firstC = core.sizeC[0] - 1; 
     184          if (firstT >= core.sizeT[0]) firstT = core.sizeT[0] - 1; 
     185 
    180186          // populate ZCT matrix 
    181187          char d1st = core.currentOrder[i].charAt(2); 
Note: See TracChangeset for help on using the changeset viewer.