We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 590a49d commit cc228b3Copy full SHA for cc228b3
1 file changed
pyxnat/core/derivatives/dicom.py
@@ -13,7 +13,7 @@ def scandate(self):
13
fd, fp = tempfile.mkstemp(suffix='.dcm')
14
os.close(fd)
15
f.get(dest=fp)
16
- d = pydicom.read_file(fp)
+ d = pydicom.dcmread(fp)
17
18
if hasattr(d, 'AcquisitionDate'):
19
acquisition_date = d.AcquisitionDate
0 commit comments