diff --git a/atlas/models.py b/atlas/models.py index 2f12e674..9ec7b9e7 100644 --- a/atlas/models.py +++ b/atlas/models.py @@ -939,7 +939,7 @@ class UncategorisedDicom(models.Model): return None def get_basic_dicom_tags(self): - with pydicom.read_file(self.image) as ds: + with pydicom.dcmread(self.image) as ds: to_include = ( "StudyDescription", "Modality",