From fb399a8712b4b07acb2951b8d8f3eb6db03b4478 Mon Sep 17 00:00:00 2001 From: "sandipsamal117@gmail.com" Date: Tue, 16 Apr 2024 13:24:59 -0400 Subject: [PATCH] LUT shape bugfix and version bump --- dicommake.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dicommake.py b/dicommake.py index 54d7939..a5baf0b 100644 --- a/dicommake.py +++ b/dicommake.py @@ -35,7 +35,7 @@ -__version__ = '2.2.8' +__version__ = '2.3.0' DISPLAY_TITLE = r""" _ _ _ _ @@ -144,7 +144,6 @@ def npimage_get(image): # file itself isn't compressed, saving it as a DICOM file would throw error. # The below fix handles this. # We change the transfer syntax UID (https://github.com/pydicom/pydicom/issues/1109) - ds.PresentationLUTShape = '' ds.file_meta.TransferSyntaxUID = ExplicitVRLittleEndian ds.PixelData = np_image.tobytes() ds.AcquisitionTime = AcquisitionTime()