Changeset 4780


Ignore:
Timestamp:
02/05/09 08:07:28 (11 years ago)
Author:
melissa
Message:

Fixed NPE.

File:
1 edited

Legend:

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

    r4750 r4780  
    668668      store.setDimensionsPhysicalSizeZ(pixZ, 0, 0); 
    669669      store.setDimensionsTimeIncrement(pixT, 0, 0); 
    670       if (pixC.intValue() > 0) store.setDimensionsWaveIncrement(pixC, 0, 0); 
     670      if (pixC != null && pixC.intValue() > 0) { 
     671        store.setDimensionsWaveIncrement(pixC, 0, 0); 
     672      } 
    671673    } 
    672674    else if (sizes != null) { 
Note: See TracChangeset for help on using the changeset viewer.