Changeset 7553


Ignore:
Timestamp:
01/19/11 15:40:29 (9 years ago)
Author:
melissa
Message:

Prevent an NPE when attempting to stitch datasets that aren't stitchable. Closes #646.

File:
1 edited

Legend:

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

    r7502 r7553  
    190190  public FilePattern getFilePattern() { 
    191191    FormatTools.assertId(getCurrentFile(), true, 2); 
    192     return externals[getExternalSeries()].getFilePattern(); 
     192    return noStitch ? findPattern(getCurrentFile()) : 
     193      externals[getExternalSeries()].getFilePattern(); 
    193194  } 
    194195 
Note: See TracChangeset for help on using the changeset viewer.