X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=gdcmPython%2Fdemo%2FPrintDicomDir.py.in;h=c988a4e6b0f89c072d849de71b50cb41d1d3e48d;hb=1f395cbc93181939a4f440b8e8fd3e0ac4962f75;hp=341df43d0cfe802c12136b3ef423d52dabd9d16f;hpb=278965e64eb49669b1a05493843f97144d8323b4;p=gdcm.git diff --git a/gdcmPython/demo/PrintDicomDir.py.in b/gdcmPython/demo/PrintDicomDir.py.in index 341df43d..c988a4e6 100644 --- a/gdcmPython/demo/PrintDicomDir.py.in +++ b/gdcmPython/demo/PrintDicomDir.py.in @@ -67,7 +67,7 @@ while(patient): image=serie.GetFirstImage() while(image): print " Image" - print " ---",image.GetValEntry(0x0004,0x1500).GetValue() + print " ---",image.GetDataEntry(0x0004,0x1500).GetString() image=serie.GetNextImage() serie=study.GetNextSerie() study=patient.GetNextStudy()