Changeset 7316 for trunk


Ignore:
Timestamp:
12/03/10 13:26:57 (9 years ago)
Author:
melissa
Message:

Return a blank plane if a TIFF file is missing, just like we do with many other formats.

File:
1 edited

Legend:

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

    r7250 r7316  
    236236    if (filename == null) return buf; 
    237237 
    238     RandomAccessInputStream plane = getFile(filename); 
     238    RandomAccessInputStream plane = null; 
     239    try { 
     240      plane = getFile(filename); 
     241    } 
     242    catch (IOException e) { } 
     243 
     244    if (plane == null) return buf; 
    239245    TiffParser tp = new TiffParser(plane); 
    240246    IFDList ifds = tp.getIFDs(); 
Note: See TracChangeset for help on using the changeset viewer.