]> Creatis software - gdcm.git/blobdiff - gdcmPython/demo/printGroupedPublicDict.py
* gdcmPython/gdcm.i:
[gdcm.git] / gdcmPython / demo / printGroupedPublicDict.py
index 153e173b5f97d822a3eed425849f208998f5e469..7a5aca6d5c69ac7afad301a0a4e8a584d3f31c80 100644 (file)
@@ -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]: