Skip to content

Commit b03bf83

Browse files
Io (#121)
* io improved * series selection
1 parent 4b17c19 commit b03bf83

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

comp2comp/io/io.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,8 @@ def series_selector(dicom_path):
121121
raise ValueError("Not primary image type")
122122
if not any("original" in s.lower() for s in image_type_list):
123123
raise ValueError("Not original image type")
124-
if any("gsi" in s.lower() for s in image_type_list):
125-
raise ValueError("GSI image type")
124+
# if any("gsi" in s.lower() for s in image_type_list):
125+
# raise ValueError("GSI image type")
126126
if ds.ImageOrientationPatient != [1, 0, 0, 0, 1, 0]:
127127
raise ValueError("Image orientation is not axial")
128128
return ds

0 commit comments

Comments
 (0)