Skip to content

Commit

Permalink
Merge pull request #11 from sameeul/v005
Browse files Browse the repository at this point in the history
V005
  • Loading branch information
sameeul authored Feb 5, 2024
2 parents f8a9895 + 1bba512 commit 8ed165b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ome_tiff_to_chunked_pyramid.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,8 @@ void OmeTiffToChunkedPyramid::WriteVivZattrFile(const std::string& tiff_file_nam
combined_metadata["name"] = tiff_file_name;
combined_metadata["metadata"] = {{"method", "mean"}};
json final_formated_metadata;
#ifdef _WIN32
#if defined(__clang__) || defined(_MSC_VER)
// more details here: https://github.com/nlohmann/json/issues/2311
final_formated_metadata["multiscales"][0] = {combined_metadata};
#else
final_formated_metadata["multiscales"] = {combined_metadata};
Expand Down

0 comments on commit 8ed165b

Please sign in to comment.