X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=inline;f=gdcmPython%2Fdemo%2Fexplore.py;h=defb226b2a72ab3aac6706491ad0f3e2c4d36643;hb=256d6a32612f8bffdb7868749d7995fc74c0c03d;hp=af124bb64dcf9cf3465ebb2a6cd157e551a9282b;hpb=153db29d779f82893684c6aac08b0a565dd84334;p=gdcm.git diff --git a/gdcmPython/demo/explore.py b/gdcmPython/demo/explore.py index af124bb6..defb226b 100644 --- a/gdcmPython/demo/explore.py +++ b/gdcmPython/demo/explore.py @@ -11,7 +11,7 @@ if not os.path.isfile(FileName): sys.exit() toRead = gdcmHeader(FileName) -ValDict = toRead.GetPubElVal() +ValDict = toRead.GetPubEntry() ExploreElements = ["Patient Name", "Patient ID", "Study Date", "Study Time", "Study ID", "Study Instance UID", @@ -24,3 +24,4 @@ for elem in ExploreElements: print "[%s]" % ValDict[elem] except KeyError: print "NOT FOUND" +