Skip to content

Commit

Permalink
[Fix] Changing OC to SC and trying stuff.
Browse files Browse the repository at this point in the history
  • Loading branch information
LalithShiyam committed Mar 25, 2024
1 parent aa09e9a commit fdf6e44
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion nifti2dicom/converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setup(
name='nifti2dicom',
version='1.1.8',
version='1.1.9',
packages=find_packages(),
install_requires=[
'pydicom',
Expand Down

0 comments on commit fdf6e44

Please sign in to comment.