Changeset 2923


Ignore:
Timestamp:
07/02/07 07:43:50 (12 years ago)
Author:
melissa
Message:

Removed OriginalMetadata population, for real this time.

File:
1 edited

Legend:

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

    r2905 r2923  
    2727import java.awt.image.BufferedImage; 
    2828import java.io.IOException; 
    29 import java.lang.reflect.Method; 
    3029import java.util.*; 
    3130 
     
    165164    } 
    166165    metadata.put(key, value); 
    167  
    168     try { 
    169       MetadataStore store = getMetadataStore(); 
    170       if (store.getClass().getName().equals( 
    171         "loci.formats.ome.OMEXMLMetadataStore")) 
    172       { 
    173         Method m = store.getClass().getMethod("setOriginalMetadata", 
    174           new Class[] {String.class, String.class}); 
    175         m.invoke(store, new Object[] {key, value.toString()}); 
    176       } 
    177     } 
    178     catch (Throwable t) { 
    179       debug("Error populating OME-XML"); 
    180       trace(t); 
    181     } 
    182166  } 
    183167 
Note: See TracChangeset for help on using the changeset viewer.