Skip to content

Commit

Permalink
remove unused lines
Browse files Browse the repository at this point in the history
  • Loading branch information
jjjermiah committed Feb 12, 2024
1 parent 688a1a6 commit c1dc231
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/nbiatoolkit/dicomsort/dicomsort.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,9 +139,9 @@ def _read_in_dicom_file(filePath: str) -> Optional[pydicom.FileDataset]:
print(f"Error reading file {filePath}: is ``None`` or of an unsupported type.")
return None

sourceDir = "/Users/bhklab/Documents/GitHub/NBIA-toolkit/NBIA-Download"
files = _get_dicom_files(sourceDir=sourceDir)
dcm_list = []
for file in files:
dcm = _read_in_dicom_file(file)
dcm_list.append(dcm)
# sourceDir = "/Users/bhklab/Documents/GitHub/NBIA-toolkit/NBIA-Download"
# files = _get_dicom_files(sourceDir=sourceDir)
# dcm_list = []
# for file in files:
# dcm = _read_in_dicom_file(file)
# dcm_list.append(dcm)

0 comments on commit c1dc231

Please sign in to comment.