Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fatal error when parsing image #125

Open
create3000 opened this issue Nov 1, 2019 · 1 comment
Open

Fatal error when parsing image #125

create3000 opened this issue Nov 1, 2019 · 1 comment

Comments

@create3000
Copy link

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

@yagni
Copy link
Collaborator

yagni commented Nov 5, 2019

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants