X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=gdcmPython%2Fdemo%2FprintGroupedPublicDict.py;h=7a5aca6d5c69ac7afad301a0a4e8a584d3f31c80;hb=f2b0c784e97995ff66779139cf279b521f562f62;hp=153e173b5f97d822a3eed425849f208998f5e469;hpb=29f93a14132dd0c6d9d9480ea038a2a4e8ed7e93;p=gdcm.git diff --git a/gdcmPython/demo/printGroupedPublicDict.py b/gdcmPython/demo/printGroupedPublicDict.py index 153e173b..7a5aca6d 100644 --- a/gdcmPython/demo/printGroupedPublicDict.py +++ b/gdcmPython/demo/printGroupedPublicDict.py @@ -4,7 +4,7 @@ print "##############################################################" print "### Display all the possible tags of the current public" print "### dictionary" print "##############################################################" -PubList = gdcmDictSet.GetPubDictTagNames() +PubList = GetPubDictTagNames() for i in range(0, len(PubList)): print " ", PubList[i] @@ -12,7 +12,7 @@ print "##############################################################" print "### Display all the possible tags of the current public" print "### dictionary, but grouped by using the Fourth field" print "##############################################################" -PubDict = gdcmDictSet.GetPubDictTagNamesByCategory() +PubDict = GetPubDictTagNamesByCategory() for fourth in PubDict: print " ############ Fourth group = ", fourth, " ##############" for key in PubDict[fourth]: