From 0befdaa665bc3be3fcc347936de07ecee383e140 Mon Sep 17 00:00:00 2001 From: Ross Date: Tue, 26 Dec 2023 18:01:30 +0000 Subject: [PATCH] . --- generic/models.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/generic/models.py b/generic/models.py index 12c242af..e91f1a84 100644 --- a/generic/models.py +++ b/generic/models.py @@ -239,10 +239,10 @@ class SeriesImageBase(models.Model): return info def generate_hashes(self): - image_hash, is_dicom = get_image_hash(self.image, hash_type="md5", direct_pixel_data=False) + #image_hash, is_dicom = get_image_hash(self.image, hash_type="md5", direct_pixel_data=False) - self.is_dicom = is_dicom - self.image_md5_hash = image_hash + #self.is_dicom = is_dicom + #self.image_md5_hash = image_hash image_blake3_hash, is_dicom = get_image_hash(self.image, hash_type="blake3", direct_pixel_data=True) self.is_dicom = is_dicom