Skip to content

Commit

Permalink
Merge pull request ome#4157 from melissalinkert/omexml-original-metad…
Browse files Browse the repository at this point in the history
…ata-develop

OME-XML: populate original metadata table
  • Loading branch information
dgault authored Mar 4, 2024
2 parents 90c789e + e067a67 commit 83df5ca
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions components/formats-bsd/src/loci/formats/in/OMEXMLReader.java
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Hashtable;
import java.util.List;

import loci.common.CBZip2InputStream;
Expand Down Expand Up @@ -269,9 +270,10 @@ protected void initFile(String id) throws FormatException, IOException {

hasSPW = omexmlMeta.getPlateCount() > 0;

// TODO
//Hashtable originalMetadata = omexmlMeta.getOriginalMetadata();
//if (originalMetadata != null) metadata = originalMetadata;
Hashtable originalMetadata = service.getOriginalMetadata(omexmlMeta);
if (originalMetadata != null) {
metadata = originalMetadata;
}

int numDatasets = omexmlMeta.getImageCount();

Expand Down

0 comments on commit 83df5ca

Please sign in to comment.