Changeset 3450


Ignore:
Timestamp:
12/07/07 08:11:32 (12 years ago)
Author:
melissa
Message:

Fixed NPE when there is only one series.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/loci/formats/FileStitcher.java

    r3449 r3450  
    11511151    MetadataStore s = reader.getMetadataStore(); 
    11521152    for (int i=0; i<core.sizeX.length; i++) { 
    1153       s.setImage((String) seriesNames.get(i), null, null, new Integer(i)); 
     1153      if (seriesNames != null) { 
     1154        s.setImage((String) seriesNames.get(i), null, null, new Integer(i)); 
     1155      } 
    11541156    } 
    11551157    FormatTools.populatePixels(s, this); 
Note: See TracChangeset for help on using the changeset viewer.