dicomParser icon indicating copy to clipboard operation
dicomParser copied to clipboard

Fatal error when parsing image

Open create3000 opened this issue 6 years ago • 1 comments

When I load the image appended I get the following exception:

TypeError: "this is undefined"
    getDataSetByteStream parseDicom.js:58
    readDataSet parseDicom.js:119
    parseTheByteStream parseDicom.js:147
    parseDicom parseDicom.js:153   

CTImage.dcm_DeflatedExplicitVRLittleEndianTransferSyntax_1.2.840.10008.1.2.1.99.zip

create3000 avatar Nov 01 '19 15:11 create3000

Seems to be due to this line:

else if (typeof module !== 'undefined' && this.module !== module) {

There's no this. Anybody ever built this for node and wants to fix it?

yagni avatar Nov 05 '19 07:11 yagni