From fdf6e44303658b930d85a196e1599b072bec5d38 Mon Sep 17 00:00:00 2001 From: LalithShiyam Date: Mon, 25 Mar 2024 11:24:03 +0100 Subject: [PATCH] [Fix] Changing OC to SC and trying stuff. --- nifti2dicom/converter.py | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nifti2dicom/converter.py b/nifti2dicom/converter.py index abb5f40..7196eff 100644 --- a/nifti2dicom/converter.py +++ b/nifti2dicom/converter.py @@ -80,7 +80,7 @@ def create_rgb_dicom_from_slice(slice_array, series_tag_values, reference_metada ds.PixelSpacing = reference_metadata.PixelSpacing if hasattr(reference_metadata, 'PixelSpacing') else '' # Set image-specific attributes - ds.Modality = 'OT' + ds.Modality = 'SC' ds.PhotometricInterpretation = 'RGB' ds.PixelRepresentation = 0 ds.SamplesPerPixel = 3 diff --git a/setup.py b/setup.py index f926d70..640ea41 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ setup( name='nifti2dicom', - version='1.1.8', + version='1.1.9', packages=find_packages(), install_requires=[ 'pydicom',