From e1ef236e7bc1c7d6d227b7853cd9d354c32a83cf Mon Sep 17 00:00:00 2001 From: Ross Date: Mon, 18 Dec 2023 18:28:00 +0000 Subject: [PATCH] . --- atlas/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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",