X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=gdcmPython%2Fdemo%2FPrintHeader.py;h=1019c49ad37074488eb5f9e5265daa5768e66574;hb=0416947420d9168401c99e7fbf0dca0a081c9175;hp=ae409700545f0519f2a348bc86405ce4e6b5ea2f;hpb=9de7a35ab47a6acf7ef33ad333df73f0a608166f;p=gdcm.git diff --git a/gdcmPython/demo/PrintHeader.py b/gdcmPython/demo/PrintHeader.py index ae409700..1019c49a 100644 --- a/gdcmPython/demo/PrintHeader.py +++ b/gdcmPython/demo/PrintHeader.py @@ -32,7 +32,7 @@ print "### Display all the elements and their respective values" print "## found in the ", fileName, " file." print "##############################################################" -header.Initialize() +header.InitTraversal() val=header.GetNextEntry() while(val): val.Print()