.
This commit is contained in:
+1
-1
@@ -192,7 +192,7 @@ def get_image_hash(img, hash_type="blake3", direct_pixel_data=True) -> (str, boo
|
||||
# ----
|
||||
|
||||
except pydicom.errors.InvalidDicomError as e:
|
||||
print("dicom error")
|
||||
print("dicom error", img)
|
||||
try: # This is horrible (but needed for current unit tests)
|
||||
# (we use a temporary file that breaks here)
|
||||
img.file.open()
|
||||
|
||||
Reference in New Issue
Block a user