# HG changeset patch # User Sebastien Jodogne # Date 1761151744 -7200 # Node ID 08a279251a4e18067473397c2c5ffe2bf70e4801 # Parent b62242c540db1d86996ad4d843f82df2fb4a8033 fix DICOM-ization of MRXS files from MIRAX diff -r b62242c540db -r 08a279251a4e NEWS --- a/NEWS Wed Oct 22 17:15:14 2025 +0200 +++ b/NEWS Wed Oct 22 18:49:04 2025 +0200 @@ -1,6 +1,8 @@ Pending changes in the mainline =============================== +* Fix DICOM-ization of MRXS files from MIRAX + Version 1.0 (2025-10-22) ======================== diff -r b62242c540db -r 08a279251a4e Sources/Dicomization/WholeSlideImagingDicomizer.cpp --- a/Sources/Dicomization/WholeSlideImagingDicomizer.cpp Wed Oct 22 17:15:14 2025 +0200 +++ b/Sources/Dicomization/WholeSlideImagingDicomizer.cpp Wed Oct 22 18:49:04 2025 +0200 @@ -55,9 +55,8 @@ { target.WriteFile(filename, content); - boost::filesystem::path path(target.GetPath(filename)); - - const std::string& extension = path.extension().string(); + const boost::filesystem::path path(target.GetPath(filename)); + const std::string extension = path.extension().string(); if (extension == ".mrxs" || extension == ".ndpi" ||