diff --git a/invesalius/reader/dicom_reader.py b/invesalius/reader/dicom_reader.py index 533587f..a9e2e80 100644 --- a/invesalius/reader/dicom_reader.py +++ b/invesalius/reader/dicom_reader.py @@ -119,7 +119,7 @@ class LoadDicom: tag = gdcm.Tag(0x0008, 0x0005) ds = reader.GetFile().GetDataSet() if ds.FindDataElement(tag): - encoding_value = str(ds.GetDataElement(tag).GetValue()) + encoding_value = str(ds.GetDataElement(tag).GetValue()).split('\\')[0] if encoding_value.startswith("Loaded"): encoding = "ISO_IR 100" -- libgit2 0.21.2