Changeset 7257


Ignore:
Timestamp:
11/26/10 15:52:00 (9 years ago)
Author:
melissa
Message:

Fixed calculation in r7255 so that tests pass again.

File:
1 edited

Legend:

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

    r7255 r7257  
    937937    } 
    938938    core[sno].imageCount = core[sno].sizeZ * core[sno].sizeT; 
    939     core[sno].imageCount *= reader.getEffectiveSizeC(); 
     939    if (!isRGB()) { 
     940      core[sno].imageCount *= core[sno].sizeC; 
     941    } 
     942    else core[sno].imageCount *= reader.getEffectiveSizeC(); 
    940943 
    941944    int[] cLengths = reader.getChannelDimLengths(); 
Note: See TracChangeset for help on using the changeset viewer.