This commit is contained in:
Ross
2023-12-18 18:28:00 +00:00
parent 9790c0a4df
commit e1ef236e7b
+1 -1
View File
@@ -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",