Commit 08f6678fee795d981a5fb1a973d6a58e27d2f23a

Authored by Paulo Henrique Junqueira Amorim
1 parent ef8b84ed

FIX: Slice thickness tag incorrect

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
invesalius/reader/dicom.py
... ... @@ -1347,11 +1347,11 @@ class Parser():
1347 1347  
1348 1348 DICOM standard tag (0x0018,0x0050) was used.
1349 1349 """
1350   - tag = gdcm.Tag(0x0018, 0x1050)
  1350 + tag = gdcm.Tag(0x0018, 0x0050)
1351 1351 ds = self.gdcm_reader.GetFile().GetDataSet()
1352 1352 if ds.FindDataElement(tag):
1353 1353 data = str(ds.GetDataElement(tag).GetValue())
1354   -
  1354 + print data
1355 1355 if (data):
1356 1356 return float(data)
1357 1357 return 0
... ...