Skip to content

Commit

Permalink
Io (#121)
Browse files Browse the repository at this point in the history
* io improved

* series selection
  • Loading branch information
louisblankemeier authored Oct 3, 2023
1 parent 4b17c19 commit b03bf83
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions comp2comp/io/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,8 @@ def series_selector(dicom_path):
raise ValueError("Not primary image type")
if not any("original" in s.lower() for s in image_type_list):
raise ValueError("Not original image type")
if any("gsi" in s.lower() for s in image_type_list):
raise ValueError("GSI image type")
# if any("gsi" in s.lower() for s in image_type_list):
# raise ValueError("GSI image type")
if ds.ImageOrientationPatient != [1, 0, 0, 0, 1, 0]:
raise ValueError("Image orientation is not axial")
return ds
Expand Down

0 comments on commit b03bf83

Please sign in to comment.