From 16661a25aa6883f3faf5dbd0aef031bd20fd2381 Mon Sep 17 00:00:00 2001 From: Ross Date: Mon, 18 Dec 2023 18:33:54 +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 fffb6f9b..89d20ca0 100644 --- a/atlas/models.py +++ b/atlas/models.py @@ -946,7 +946,7 @@ class UncategorisedDicom(models.Model): def get_basic_dicom_tags(self, dataset=None): try: - if dataset = is None: + if dataset is None: dataset = pydicom.read_file(self.image) to_include = ( "StudyDescription",