dcmjs icon indicating copy to clipboard operation
dcmjs copied to clipboard

Invalid tag in sequence : Unable to parse MR Dicom file in dcmjs. Cornerstone able to parse and works fine

Open subhasishdash opened this issue 2 years ago • 1 comments

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.

907375E7.zip

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.

subhasishdash avatar Jul 31 '23 09:07 subhasishdash

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).

pieper avatar Aug 31 '23 21:08 pieper