Skip to content

Commit

Permalink
resolve some TODOs
Browse files Browse the repository at this point in the history
  • Loading branch information
sophie22 committed Feb 27, 2024
1 parent 6072a8c commit 5c88b0f
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions hazenlib/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,6 @@ def get_TR(dcm: pydicom.Dataset) -> float:
float: value of the RepetitionTime field from the DICOM header, or defaults to 1000
"""
# TODO: explore what type of DICOM files do not have RepetitionTime in DICOM header
# check with physicists whether 1000 is an appropriate default value
try:
TR = dcm.RepetitionTime
except:
Expand All @@ -238,8 +237,6 @@ def get_rows(dcm: pydicom.Dataset) -> float:
Returns:
float: value of the Rows field from the DICOM header, or defaults to 256
"""
# TODO: explore what type of DICOM files do not have Rows in DICOM header
# check with physicists whether 256 is an appropriate default value
try:
rows = dcm.Rows
except:
Expand All @@ -260,8 +257,6 @@ def get_columns(dcm: pydicom.Dataset) -> float:
Returns:
float: value of the Columns field from the DICOM header, or defaults to 256
"""
# TODO: explore what type of DICOM files do not have Columns in DICOM header
# check with physicists whether 256 is an appropriate default value
try:
columns = dcm.Columns
except:
Expand Down

0 comments on commit 5c88b0f

Please sign in to comment.