This commit is contained in:
Ross
2022-04-06 19:40:33 +01:00
parent 854ee61404
commit 9fa24569ea
+2 -2
View File
@@ -298,10 +298,10 @@
// We need to setup a try/catch block because parseDicom will throw an exception
// if you attempt to parse a non dicom part 10 file (or one that is corrupted)
try {
cosole.log("bytearray", byteArray)
console.log("bytearray", byteArray)
// parse byteArray into a DataSet object using the parseDicom library
var dataSet = dicomParser.parseDicom(byteArray);
cosole.log("ds", dataSet)
console.log("ds", dataSet)
// dataSet contains the parsed elements. Each element is available via a property
// in the dataSet.elements object. The property name is based on the elements group