Commit 21f0b01f authored by kulvait's avatar kulvait

Fix suffix lookup

*Suffix of DICOM files to search need not be just IMA
parent c3e89914
......@@ -19,7 +19,6 @@ def getDicomFiles(d, suffixes=["IMA"]):
dicomFiles = []
for s in suffixes:
dicomFiles.extend(glob.glob(os.path.join(d, "*.%s" % s)))
dicomFiles = glob.glob(os.path.join(d, "*.IMA"))
dicomFiles.sort()
return dicomFiles
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment