Skip to content

Commit cc228b3

Browse files
committed
REF: deprecation of pydicom.read_file
1 parent 590a49d commit cc228b3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pyxnat/core/derivatives/dicom.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ def scandate(self):
1313
fd, fp = tempfile.mkstemp(suffix='.dcm')
1414
os.close(fd)
1515
f.get(dest=fp)
16-
d = pydicom.read_file(fp)
16+
d = pydicom.dcmread(fp)
1717

1818
if hasattr(d, 'AcquisitionDate'):
1919
acquisition_date = d.AcquisitionDate

0 commit comments

Comments
 (0)