Skip to content

Commit

Permalink
Fixed gdcm error
Browse files Browse the repository at this point in the history
  • Loading branch information
BarzaH committed Dec 17, 2024
1 parent 7181c48 commit edb6475
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions innofw/utils/data_utils/preprocessing/dicom_handler.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
from pckg_util import install_and_import

install_and_import("pylibjpeg", "2.0.0", packageimportname="pylibjpeg")
install_and_import("python-gdcm", "3.0.24.1", packageimportname="gdcm")

import datetime
import os.path

Expand All @@ -14,6 +19,7 @@
from innofw.utils import get_project_root



def img_to_dicom(
img: np.ndarray,
origin_dicom: FilePath = None,
Expand Down

0 comments on commit edb6475

Please sign in to comment.