From: jpr Date: Thu, 15 Jan 2004 10:12:36 +0000 (+0000) Subject: Correction of some Tag names X-Git-Tag: Version0.4~103 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=49c49f93fee21fdddce1f5ae0f2b0875ab0e01c6;p=gdcm.git Correction of some Tag names --- diff --git a/gdcmPython/demo/ReorganiseFiles.py b/gdcmPython/demo/ReorganiseFiles.py index e1372adb..54fcb420 100644 --- a/gdcmPython/demo/ReorganiseFiles.py +++ b/gdcmPython/demo/ReorganiseFiles.py @@ -1,4 +1,4 @@ -# Rename the dcm extension files of a given drectory according +# Rename the dcm extension files of a given directory according # to series and image number information extracted in each respective header. from gdcmPython import * diff --git a/gdcmPython/demo/explore.py b/gdcmPython/demo/explore.py index defb226b..c5b253f2 100644 --- a/gdcmPython/demo/explore.py +++ b/gdcmPython/demo/explore.py @@ -12,11 +12,11 @@ if not os.path.isfile(FileName): toRead = gdcmHeader(FileName) ValDict = toRead.GetPubEntry() -ExploreElements = ["Patient Name", "Patient ID", - "Study Date", "Study Time", "Study ID", - "Study Instance UID", - "Series Number", - "Modality"] +ExploreElements = ["Patient's Name", "Patient ID", + "Study Date", "Study Time", "Study ID", + "Study Instance UID", + "Series Number", + "Modality"] for elem in ExploreElements: print "[%s] = " % elem, diff --git a/gdcmPython/demo/printGroupedPublicDict.py b/gdcmPython/demo/printGroupedPublicDict.py index 7a5aca6d..636119d4 100644 --- a/gdcmPython/demo/printGroupedPublicDict.py +++ b/gdcmPython/demo/printGroupedPublicDict.py @@ -12,6 +12,8 @@ print "##############################################################" print "### Display all the possible tags of the current public" print "### dictionary, but grouped by using the Fourth field" print "##############################################################" +print " WARNING : the 'fourth' fiels IS NOT part of DICOM" +print " DO NOT use it" PubDict = GetPubDictTagNamesByCategory() for fourth in PubDict: print " ############ Fourth group = ", fourth, " ##############"