This commit is contained in:
Ross
2022-04-06 16:50:54 +01:00
parent 640fff2549
commit c1dd40031d
5 changed files with 17 additions and 4 deletions
+3
View File
@@ -575,6 +575,9 @@ class Series(models.Model):
return size
def anonymise_images(self):
# NOTE: this will not maintain the correct hashed filename
# but that doesn't matter as we will never get the same anonymisation
# even with the same dicom...
anonymizer = dicognito.anonymizer.Anonymizer()
for series_image in self.images.all():