From ed3de96e4c2d44d6df366043bdb4b09769902eff Mon Sep 17 00:00:00 2001 From: Salim Kanoun Date: Mon, 21 Jul 2025 15:06:34 +0200 Subject: [PATCH] fix: labelmap init (#5228) --- platform/core/src/classes/MetadataProvider.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platform/core/src/classes/MetadataProvider.ts b/platform/core/src/classes/MetadataProvider.ts index ce55c4f05..87b144720 100644 --- a/platform/core/src/classes/MetadataProvider.ts +++ b/platform/core/src/classes/MetadataProvider.ts @@ -577,8 +577,8 @@ const WADO_IMAGE_LOADER = { sliceThickness: toNumber(instance.SliceThickness), sliceLocation: toNumber(instance.SliceLocation), pixelSpacing: toNumber(PixelSpacing || 1), - rowPixelSpacing, - columnPixelSpacing, + rowPixelSpacing: rowPixelSpacing ? toNumber(rowPixelSpacing) : null, + columnPixelSpacing: columnPixelSpacing ? toNumber(columnPixelSpacing) : null, usingDefaultValues, }; },