return which files have been uploaded successfully
This commit is contained in:
@@ -828,6 +828,9 @@ class UncategorisedDicom(models.Model):
|
||||
|
||||
if UncategorisedDicom.objects.filter(image_md5_hash=image_hash):
|
||||
raise DuplicateDicom
|
||||
|
||||
if SeriesImage.objects.filter(image_md5_hash=image_hash):
|
||||
raise DuplicateDicom
|
||||
|
||||
# Hack for tests
|
||||
if image_hash != "12345ABCD":
|
||||
|
||||
Reference in New Issue
Block a user