使用 pydicom 尝试读取测试文件,如下所示:
from pydicom.data import get_testdata_files
pass_dicom = "CT-MONO2-16-ankle.dcm"
filename = get_testdata_files(pass_dicom)[0]
我收到一个错误
Traceback (most recent call last):
File "t.py", line 4, in <module>
filename = get_testdata_files(pass_dicom)[0]
IndexError: list index out of range
请帮忙。