Changeset 2005


Ignore:
Timestamp:
01/03/07 13:05:34 (13 years ago)
Author:
chris
Message:

Fix previous getEffectiveSizeC fix.

Location:
trunk/loci/formats
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/loci/formats/ImageReader.java

    r1967 r2005  
    235235  /* @see IFormatReader#getEffectiveSizeC(String) */ 
    236236  public int getEffectiveSizeC(String id) throws FormatException, IOException { 
    237     return getReader(id).getEffectiveSizeC(id); 
     237    return FormatReader.getEffectiveSizeC(isRGB(id), getSizeC(id)); 
    238238  } 
    239239 
  • trunk/loci/formats/ReaderWrapper.java

    r1926 r2005  
    9999 
    100100  public int getEffectiveSizeC(String id) throws FormatException, IOException { 
    101     return reader.getEffectiveSizeC(id); 
     101    return FormatReader.getEffectiveSizeC(isRGB(id), getSizeC(id)); 
    102102  } 
    103103 
Note: See TracChangeset for help on using the changeset viewer.