X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=gdcmPython%2Fdemo%2FvtkGdcmDemo.py;h=a6d14e4d44388c96530b07b31af4c06b17f2205b;hb=8845fe9fca6c1ed22eaaae4dd4561c0ba2f31a6b;hp=f1e1c26f3f4160bc0fdd42442ddf7bb247ad234d;hpb=00bc08e9b8fd5aadac41221a071783ef3d485f94;p=gdcm.git diff --git a/gdcmPython/demo/vtkGdcmDemo.py b/gdcmPython/demo/vtkGdcmDemo.py index f1e1c26f..a6d14e4d 100644 --- a/gdcmPython/demo/vtkGdcmDemo.py +++ b/gdcmPython/demo/vtkGdcmDemo.py @@ -179,7 +179,7 @@ if not check.IsReadable(): print "The ", FileName, " file is not " print " readable with gdcm. Sorry." sys.exit() -check = check.GetPubElVal() +check = check.GetPubEntry() try: HighBit = check["High Bit"] if len(HighBit) == 0 or HighBit == "gdcm::Unfound":