dcmjs
dcmjs copied to clipboard
Invalid tag in sequence : Unable to parse MR Dicom file in dcmjs. Cornerstone able to parse and works fine
Hi dcmjs team, I am using OHIF viewer and it uses dcmjs to parse DICOM files. The attached MR study fails to parse with dcmjs, but it works fine with cornerstone parser Cornerstone file loader
If possible please add a file loader page like cornerstone as it's easy and quick to check/test.
Please let me know how can I fix this.
I tried the following:
- Regenerate dictonary.js from dcmjs, didn't work.
- Tried to add a if condition to getNextSequenceItemData to skip if the var nextTag = Tag.readTag(stream); is 2001, didn't work.
I also saw this fix for dcmtk, not sure if it's related.
Hi - thanks for the report and for sharing the data. Can you post the error message you get?
Would you be okay with this data being added to https://github.com/dcmjs-org/data ? If I do that would you make a PR to add a test to use for debugging? (okay if it fails at first).