Viewers
Viewers copied to clipboard
[Bug] DICOM never finishes loading
Describe the Bug
See below.
Upon investigation, the following code seems to be responsible for this bug:
https://github.com/OHIF/Viewers/blob/9c553fded431b22a0704e0b58375707f41608a8f/platform/core/src/utils/isDisplaySetReconstructable.js#L187
!iop2 === undefined will always evaluate to false.
Steps to Reproduce
yarn run dev- Load
http://localhost:3000/localin browser - Upload a DICOM dataset
- Open the developer tools
- Click the study information, then
Basic Viewer
The current behavior
It never finished loading, and the following error could be seen in developer tools of the browser:
TypeError: iop2 is undefined
_isSameOrientation app.js line 1 > srcScript:5941
areAllImageOrientationsEqual areAllImageOrientationsEqual.ts:20
checkSingleFrames checkSingleFrames.ts:26
getDisplaySetMessages getDisplaySetMessages.ts:40
makeDisplaySet getSopClassHandlerModule.js:22
The expected behavior
It loads the study without error.
OS
macOS 14.2.1
Node version
v21.3.0
Browser
Firefox 121.0.1
can you provide us with ther data