X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=gdcmPython%2Fdemo%2FPrintDicomDir.py.in;h=703ee20ec7846354e50c9421832b5c910c1b2930;hb=6e9466fd9b712361db37c64dfc5d8a7efaae59f0;hp=1f74e5435d6b2172c3b7aabab6b17ac82e9dfe70;hpb=9de7a35ab47a6acf7ef33ad333df73f0a608166f;p=gdcm.git diff --git a/gdcmPython/demo/PrintDicomDir.py.in b/gdcmPython/demo/PrintDicomDir.py.in index 1f74e543..703ee20e 100644 --- a/gdcmPython/demo/PrintDicomDir.py.in +++ b/gdcmPython/demo/PrintDicomDir.py.in @@ -14,14 +14,14 @@ from gdcmPython.core import * try: fileName = sys.argv[1] except IndexError: - fileName = os.path.join(GDCM_DATA_PATH, "DICOMDIR") + fileName = os.path.join(GDCM_DATA_ROOT, "DICOMDIR") try: printLevel = int(sys.argv[2]) except IndexError: printLevel = 1 -### Build the header element list +### Build the DicomDir element list dicomdir = gdcm.DicomDir(fileName) if not dicomdir.IsReadable(): print