Skip to content

Commit

Permalink
Update to layout version 3 OME-XML metadata location
Browse files Browse the repository at this point in the history
  • Loading branch information
chris-allan committed Apr 12, 2021
1 parent bd329a4 commit 379127a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ private Path getMetadataFile() {
* @return Path representing the expected OME-XML metadata file
*/
private Path getOMEXMLFile() {
return getZarr().resolve(OMEXML_FILE);
return getZarr().resolve("OME").resolve(OMEXML_FILE);
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@ void assertBioFormats2Raw(String...additionalArgs) throws IOException {
converter = new Converter();
CommandLine.call(converter, args.toArray(new String[]{}));
Assert.assertTrue(Files.exists(output.resolve(".zattrs")));
Assert.assertTrue(Files.exists(output.resolve("METADATA.ome.xml")));
Assert.assertTrue(Files.exists(
output.resolve("OME").resolve("METADATA.ome.xml")));
}
catch (RuntimeException rt) {
throw rt;
Expand Down

0 comments on commit 379127a

Please sign in to comment.