Changeset 2176


Ignore:
Timestamp:
01/29/07 14:31:27 (13 years ago)
Author:
melissa
Message:

Pass currentId to getMetadataStore to avoid infinite recursion.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/loci/formats/in/PerkinElmerReader.java

    r2175 r2176  
    151151    return (String[]) allFiles.toArray(new String[0]); 
    152152  } 
    153  
    154   /* @see IFormatReader#close(boolean) */ 
    155   /* 
    156   public void close(boolean fileOnly) throws FormatException, IOException { 
    157     if (fileOnly && tiff != null) { 
    158       for (int i=0; i<tiff.length; i++) { 
    159         if (tiff[i] != null) tiff[i].close(fileOnly); 
    160       } 
    161     } 
    162     else if (!fileOnly) close(); 
    163   } 
    164   */ 
    165153 
    166154  /** Closes any open files. */ 
     
    557545 
    558546    // The metadata store we're working with. 
    559     MetadataStore store = getMetadataStore(id); 
     547    MetadataStore store = getMetadataStore(currentId); 
    560548 
    561549    // populate Dimensions element 
     
    579567      new Integer(z), // SizeZ 
    580568      new Integer(wavelengths), // SizeC 
    581       new Integer(getSizeT(id)), // SizeT 
     569      new Integer(sizeT[0]), // SizeT 
    582570      new Integer(pixelType[0]), // PixelType 
    583571      null, // BigEndian 
Note: See TracChangeset for help on using the changeset viewer.