Changeset 3814


Ignore:
Timestamp:
03/13/08 16:02:11 (12 years ago)
Author:
curtis
Message:

Little tweaks.

File:
1 edited

Legend:

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

    r3813 r3814  
    189189    } 
    190190 
     191    in.seek(0); 
     192    String s = in.readString((int) in.length()); 
     193    in.seek(0); 
    191194    try { 
    192       in.seek(0); 
    193       r.setVar("s", in.readString((int) in.length())); 
    194       in.seek(0); 
     195      r.setVar("s", s); 
    195196      r.exec("omexmlMeta = MetadataTools.createOMEXMLMetadata(s)"); 
    196197    } 
     
    423424    try { 
    424425      omexmlMeta = (MetadataRetrieve) r.getVar("omexmlMeta"); 
     426      MetadataTools.convertMetadata(omexmlMeta, store); 
    425427    } 
    426428    catch (ReflectException e) { 
    427429      if (debug) LogTools.trace(e); 
    428430    } 
    429  
    430     MetadataTools.convertMetadata(omexmlMeta, store); 
    431431  } 
    432432 
Note: See TracChangeset for help on using the changeset viewer.