* src/gdcmHeaderEntry.[h|cxx] : gdcmElValue -> gdcmHeaderEntry
* src/gdcmHeaderEntrySet.[h|cxx] : gdcmElValSet -> gdcmHeaderEntrySet
* src/*.[h|cxx] : make changes due to class name changes
+ * gdcmPython/demo/*.py : bug fix due to method names
2004-01-13 Benoit Regrain
* src/*.[h|cxx] : coding style
print "### Display all the elements and their respective values"
print "## found in the ", FileName, " file."
print "##############################################################"
-ValDict = toRead.GetPubElVal()
+ValDict = toRead.GetPubEntry()
for key in ValDict.keys():
print "[%s] = [%s]" %(key, ValDict[key])
for file in SourceFiles:
header = gdcmHeader(file)
- info = header.GetPubElVal()
+ info = header.GetPubEntry()
try:
ImNum = info["Image Number"]
if len(ImNum) == 0 or ImNum == "gdcm::Unfound":
sys.exit()
toRead = gdcmHeader(FileName)
-ValDict = toRead.GetPubElVal()
+ValDict = toRead.GetPubEntry()
ExploreElements = ["Patient Name", "Patient ID",
"Study Date", "Study Time", "Study ID",
"Study Instance UID",
print "[%s]" % ValDict[elem]
except KeyError:
print "NOT FOUND"
+
fileName = os.path.join(GDCM_TEST_DATA_PATH, file)
print "############## file :", fileName
toRead = gdcmHeader(fileName)
- ValDict = toRead.GetPubElVal()
+ ValDict = toRead.GetPubEntry()
for key in ValDict.keys():
print " [%s] = [%s]" %(key, ValDict[key])
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":