Changeset 6689


Ignore:
Timestamp:
07/12/10 12:56:34 (9 years ago)
Author:
melissa
Message:

Fixed emission wavelength parsing.

File:
1 edited

Legend:

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

    r6655 r6689  
    682682    for (int w=0; w<sizeC; w++) { 
    683683      DVExtHdrFields hdrC = extHdrFields[0][w][0]; 
    684       store.setChannelEmissionWavelength( 
    685         new PositiveInteger((int) waves[w]), 0, w); 
     684      if ((int) waves[w] > 0) { 
     685        store.setChannelEmissionWavelength( 
     686          new PositiveInteger((int) waves[w]), 0, w); 
     687      } 
    686688      if ((int) hdrC.exWavelen > 0) { 
    687689        store.setChannelExcitationWavelength( 
Note: See TracChangeset for help on using the changeset viewer.