.
This commit is contained in:
@@ -40,10 +40,11 @@ class Command(BaseCommand):
|
||||
if code in ds.PatientID.lower():
|
||||
self.stdout.write(self.style.WARNING(f"Identifiable dicom {file}"))
|
||||
except AttributeError:
|
||||
self.stdout.write(self.style.WARNING(f"Error parsing {file}"))
|
||||
pass
|
||||
try:
|
||||
if code in ds.AccessionNumber.lower():
|
||||
self.stdout.write(self.style.WARNING(f"Identifiable dicom {file}"))
|
||||
self.stdout.write(self.style.WARNING(f"Error parsing {file}"))
|
||||
except AttributeError:
|
||||
pass
|
||||
|
||||
|
||||
Reference in New Issue
Block a user