Changeset 7928


Ignore:
Timestamp:
03/22/12 15:57:52 (7 years ago)
Author:
kbriney
Message:

Populate structured annotations in injected XML with original Prairie metadata.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/projects/prairie-ome-tiff/src/main/java/loci/apps/prairie/PrairieInjector.java

    r7914 r7928  
    6666    ImageReader reader = new ImageReader(); 
    6767 
     68    // enable injection of original metadata as structured annotations 
     69    reader.setOriginalMetadataPopulated(true); 
     70     
    6871    ServiceFactory serviceFactory = new ServiceFactory(); 
    6972    OMEXMLService omexmlService = serviceFactory.getInstance(OMEXMLService.class); 
     
    7174    // create a metadata store, where info is placed 
    7275    OMEXMLMetadata meta = omexmlService.createOMEXMLMetadata(); 
    73  
     76     
    7477    // associate that store with the reader 
    7578    reader.setMetadataStore(meta); 
Note: See TracChangeset for help on using the changeset viewer.