.
This commit is contained in:
+1
-2
@@ -940,8 +940,7 @@ class UncategorisedDicom(models.Model):
|
||||
|
||||
def get_basic_dicom_tags(self):
|
||||
try:
|
||||
ds = pydicom.read_file(self.image)
|
||||
|
||||
with pydicom.read_file(self.image) as ds:
|
||||
to_include = (
|
||||
"StudyDescription",
|
||||
"Modality",
|
||||
|
||||
Reference in New Issue
Block a user