From 2c193809f425094de6002d7bb8ffc9e118953fa0 Mon Sep 17 00:00:00 2001 From: brianmanderson Date: Fri, 27 Sep 2024 14:25:15 -0400 Subject: [PATCH] update requirements --- requirements.txt | 2 +- temp.py | 14 ++++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 temp.py diff --git a/requirements.txt b/requirements.txt index 55a6cff..18af339 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,7 +4,7 @@ opencv-python openpyxl pandas Pillow -pydicom +pydicom==2.4.4 scikit-image scipy SimpleITK diff --git a/temp.py b/temp.py new file mode 100644 index 0000000..15edd44 --- /dev/null +++ b/temp.py @@ -0,0 +1,14 @@ +from src.DicomRTTool.ReaderWriter import DicomReaderWriter +import os +import pydicom + +reader = DicomReaderWriter() +base_path = r'C:\Users\Markb\OneDrive\Desktop\20240927__MIM7_RADONC__100094327796' +output_path = r'C:\Users\Markb\OneDrive\Desktop\100094327796' +reader.down_folder() +for i in reader.series_instances_dictionary.values(): + series_uid = i.SeriesInstanceUID + + for f in i.files: + + x = 1 \ No newline at end of file