]> Creatis software - gdcm.git/commitdiff
Correction of some Tag names
authorjpr <jpr>
Thu, 15 Jan 2004 10:12:36 +0000 (10:12 +0000)
committerjpr <jpr>
Thu, 15 Jan 2004 10:12:36 +0000 (10:12 +0000)
gdcmPython/demo/ReorganiseFiles.py
gdcmPython/demo/explore.py
gdcmPython/demo/printGroupedPublicDict.py

index e1372adb3337878dbcf1aab08b6dc7f4a6493c06..54fcb420c762944563f6da7f40e8815267fcbb93 100644 (file)
@@ -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 *
index defb226b2a72ab3aac6706491ad0f3e2c4d36643..c5b253f29c111c42a773866a80af57d36779fc88 100644 (file)
@@ -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,
index 7a5aca6d5c69ac7afad301a0a4e8a584d3f31c80..636119d4cbdab76a0128a3408cac6470cab8c29f 100644 (file)
@@ -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, " ##############"