Changeset 5722


Ignore:
Timestamp:
11/26/09 08:59:15 (10 years ago)
Author:
curtis
Message:

Attach metadata store for more involved parallel metadata parsing.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/components/bio-formats/utils/ParallelRead.java

    r5721 r5722  
    55import java.io.File; 
    66import loci.formats.ImageReader; 
     7import loci.formats.MetadataTools; 
     8import loci.formats.meta.IMetadata; 
    79 
    810/** 
     
    2426    try { 
    2527      ImageReader r = new ImageReader(); 
     28      IMetadata meta = MetadataTools.createOMEXMLMetadata(); 
     29      r.setMetadataStore(meta); 
    2630      r.setId(id); 
    2731      System.out.println(Thread.currentThread().getName() + 
     
    3135        ", sizeZ=" + r.getSizeZ() + 
    3236        ", sizeT=" + r.getSizeT() + 
    33         ", sizeC=" + r.getSizeC()); 
     37        ", sizeC=" + r.getSizeC() + 
     38        ", imageName=" + meta.getImageName(0)); 
    3439      r.close(); 
    3540    } 
Note: See TracChangeset for help on using the changeset viewer.