Changeset 7076


Ignore:
Timestamp:
10/14/10 19:45:13 (9 years ago)
Author:
melissa
Message:

Fixed potential ArrayIndexOutOfBounds which prevented tests from passing in r7075.

File:
1 edited

Legend:

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

    r7075 r7076  
    860860      MetadataTools.populatePixels(store, this); 
    861861      for (int i=0; i<getSeriesCount(); i++) { 
    862         store.setImageName(externals[i].getFilePattern().getPattern(), i); 
     862        int index = getExternalSeries(i); 
     863        store.setImageName(externals[index].getFilePattern().getPattern(), i); 
    863864      } 
    864865    } 
Note: See TracChangeset for help on using the changeset viewer.