Describe the Bug
I'm trying to load this dicomjson as source but it throws an error when loading it
error:
react-dom.production.min.js:188 TypeError: Cannot destructure property 'modality' of 'V.get(...)' as it is undefined.
at utils.ts:63:33
at useViewportDisplaySets.ts:176:7
at d (useViewportDisplaySets.ts:171:66)
at p (useViewportRendering.tsx:141:35)
at Po (AdvancedRenderingControls.tsx:44:27)
The volume is a single dicom file with a bunch of slices/frames on it. Here the one throwing an error anonymized:
dicomjson: https://quickdrop.cota.xyz/api/file/download/kw9fW
dicom file: https://quickdrop.cota.xyz/api/file/download/IuBW7
Loading the dicom file using by local files works without any issue, just when using by dicomjson that the error happens
Steps to Reproduce
- Open the following dicomjson on the viewer
- https://viewer.ohif.org/viewer/dicomjson?url=https://quickdrop.cota.xyz/api/file/download/kw9fW
- see error
The current behavior
It throws an error on the console and doesn't load the files
The expected behavior
Load the dicom files properly
System Information
I'm using the viewer.ohif.com with a dicomjson file. I tested both on the latest chrome and firefox on linux