X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=gdcmPython%2Fdemo%2Fexplore.py;h=a72c79cde38cadd080e2bca7744ec542a79ebf4a;hb=38d772b8588bc4e7106dbafcb24f6bff91b8c4c1;hp=c5b253f29c111c42a773866a80af57d36779fc88;hpb=49c49f93fee21fdddce1f5ae0f2b0875ab0e01c6;p=gdcm.git diff --git a/gdcmPython/demo/explore.py b/gdcmPython/demo/explore.py index c5b253f2..a72c79cd 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.GetPubEntry() +ValDict = toRead.GetEntry() ExploreElements = ["Patient's Name", "Patient ID", "Study Date", "Study Time", "Study ID", "Study Instance UID", @@ -24,4 +24,4 @@ for elem in ExploreElements: print "[%s]" % ValDict[elem] except KeyError: print "NOT FOUND" - +