diff --git a/invesalius/reader/dicom.py b/invesalius/reader/dicom.py index 9b4a453..8463246 100644 --- a/invesalius/reader/dicom.py +++ b/invesalius/reader/dicom.py @@ -720,7 +720,11 @@ class Parser(): Critical DICOM tag (0x0008, 0x0008). Cannot be editted. """ - data = self.data_image['0008']['0008'] + try: + data = self.data_image['0008']['0008'] + except(IndexError): + return [] + if (data): try: return data.split('\\') -- libgit2 0.21.2