changeset 57:08a279251a4e

fix DICOM-ization of MRXS files from MIRAX
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 22 Oct 2025 18:49:04 +0200
parents b62242c540db
children 6d73737301c3
files NEWS Sources/Dicomization/WholeSlideImagingDicomizer.cpp
diffstat 2 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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)
 ========================
--- 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" ||