diff --git a/rapids/models.py b/rapids/models.py index 5029b2a7..d5147edd 100644 --- a/rapids/models.py +++ b/rapids/models.py @@ -460,7 +460,6 @@ class RapidImage(models.Model): # and generate a hash from the pixel data # TODO: improve? dataset = pydicom.dcmread(self.image) - print(dataset) #flatten = dataset.pixel_array.astype(str).flatten() #print("flatteded") #pre_join = ",".join(flatten) @@ -475,12 +474,10 @@ class RapidImage(models.Model): md5.update(f"{i}".encode()) else: md5.update(f",{i}".encode()) - print(0) hash = md5.hexdigest() #---- - print(1) self.is_dicom = True except pydicom.errors.InvalidDicomError: