-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
fix: Having sop instance in a per-frame or shared attribute breaks load #4560
Merged
+136
−71
Merged
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
54e4eb5
fix: Having sop instance in a per-frame or shared attribute breaks load
wayfarer3130 356fc48
fix: Add cache for metadata multiframe values
wayfarer3130 7de1537
Remove console log
wayfarer3130 63281e4
Merge branch 'master' into fix/sop-instance-in-per-frame
wayfarer3130 5bbdbba
fix: NM is reconstructable false
wayfarer3130 6644e16
Merge remote-tracking branch 'origin/master' into fix/sop-instance-in…
wayfarer3130 f72e6dc
revert change
wayfarer3130 d2c3b66
Merge remote-tracking branch 'origin/master' into fix/sop-instance-in…
wayfarer3130 a3c36e9
Merge branch 'master' into fix/sop-instance-in-per-frame
wayfarer3130 7f672a2
Merge branch 'master' of github.com:OHIF/Viewers into fix/sop-instanc…
sedghi f95fb37
refactor: Improve combineFrameInstance logic and clean up LayoutPrese…
sedghi 2d78aa6
feat(metadata): Add spacingBetweenSlices to WADO_IMAGE_LOADER for imp…
sedghi cc271a1
update cs3d
sedghi 6b9852c
refactor(combineFrameInstance): Remove outdated comments and improve …
sedghi File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
export function dicomSplit(value) { | ||
return ( | ||
(Array.isArray(value) && value) || (typeof value === 'string' && value.split('\\')) || value | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1393,10 +1393,10 @@ | |
resolved "https://registry.yarnpkg.com/@colors/colors/-/colors-1.5.0.tgz#bb504579c1cae923e6576a4f5da43d25f97bdbd9" | ||
integrity sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ== | ||
|
||
"@cornerstonejs/adapters@^2.14.7": | ||
version "2.14.7" | ||
resolved "https://registry.yarnpkg.com/@cornerstonejs/adapters/-/adapters-2.14.7.tgz#ecdcbc9701b26ce5c0336a6252ed44b876b51d87" | ||
integrity sha512-3vbWSfo6k68UzwLQ9ZVgL8DmTJA4mOEXBkETAk2M3+5Jky1EBT5X84UFKVIRzByk/76pG08D/NmPk2/QaO+FUA== | ||
"@cornerstonejs/adapters@^2.15.3": | ||
version "2.15.3" | ||
resolved "https://registry.yarnpkg.com/@cornerstonejs/adapters/-/adapters-2.15.3.tgz#0b29519748fd1a51522f5a0c362317d51af98a7f" | ||
integrity sha512-TeYSM+qUh+x1XrPR4Tqowp3+T6X+g+H9i2siF33gOw+cIDi4EQ14WNcvWSB2tHmqHvg/Rmta9Kvgha0dSoWTzA== | ||
dependencies: | ||
"@babel/runtime-corejs2" "^7.17.8" | ||
buffer "^6.0.3" | ||
|
@@ -1429,19 +1429,19 @@ | |
resolved "https://registry.yarnpkg.com/@cornerstonejs/codec-openjph/-/codec-openjph-2.4.5.tgz#8690b61a86fa53ef38a70eee9d665a79229517c0" | ||
integrity sha512-MZCUy8VG0VG5Nl1l58+g+kH3LujAzLYTfJqkwpWI2gjSrGXnP6lgwyy4GmPRZWVoS40/B1LDNALK905cNWm+sg== | ||
|
||
"@cornerstonejs/core@^2.14.7": | ||
version "2.14.7" | ||
resolved "https://registry.yarnpkg.com/@cornerstonejs/core/-/core-2.14.7.tgz#7092f5038ecd2b88ce1417a86885cd5711d04709" | ||
integrity sha512-92gTKuY+Ea0xsEJB1niC7FiNsaWDK7R274ZEEcu+4vb0u6P3eIQOKCut8aKVV5JpVk3C7kJ5QjCMWdG/RNp/eg== | ||
"@cornerstonejs/core@^2.15.3": | ||
version "2.15.3" | ||
resolved "https://registry.yarnpkg.com/@cornerstonejs/core/-/core-2.15.3.tgz#62b82ac8ebc6a5cf30f96e358bf7654f4eee71b4" | ||
integrity sha512-qQDvDUtONz7ydI6yf2RPI+p7/846IxnSPgCPgqLaVohjWjHeZkyhV5oY6lN50ZxgHkWmBvinw6l2wjvh4x1bKw== | ||
dependencies: | ||
"@kitware/vtk.js" "32.1.1" | ||
"@kitware/vtk.js" "32.9.0" | ||
comlink "^4.4.1" | ||
gl-matrix "^3.4.3" | ||
|
||
"@cornerstonejs/dicom-image-loader@^2.14.7": | ||
version "2.14.7" | ||
resolved "https://registry.yarnpkg.com/@cornerstonejs/dicom-image-loader/-/dicom-image-loader-2.14.7.tgz#9de7a5b6fd7dee030f7da5d705de4341af318bb5" | ||
integrity sha512-l/Vbz+5Vd076N+3xFr55aqkHxItqWe4HXjuvLBqm4orb3jWULIoM/34RJg0vGqgXj/UrB4OXxZfwDcuYBDAgEg== | ||
"@cornerstonejs/dicom-image-loader@^2.15.3": | ||
version "2.15.3" | ||
resolved "https://registry.yarnpkg.com/@cornerstonejs/dicom-image-loader/-/dicom-image-loader-2.15.3.tgz#1ab90d03fab2674cbdfd6a56f4d3da585f69abf6" | ||
integrity sha512-/njbngdKBV3DEcD5UrPD9B3QC/eXS8gx9U3hfAvABFihaSQFd7/rEgKte1EbShQ9Qdtx1FPiaX+uMmhGPxVsQA== | ||
dependencies: | ||
"@cornerstonejs/codec-charls" "^1.2.3" | ||
"@cornerstonejs/codec-libjpeg-turbo-8bit" "^1.2.2" | ||
|
@@ -1452,10 +1452,10 @@ | |
pako "^2.0.4" | ||
uuid "^9.0.0" | ||
|
||
"@cornerstonejs/tools@^2.14.7": | ||
version "2.14.7" | ||
resolved "https://registry.yarnpkg.com/@cornerstonejs/tools/-/tools-2.14.7.tgz#da0b4485aff8aa72cd88a74ad30d0a12d762f107" | ||
integrity sha512-8IorarVROvevrWfkKRFGjfDONa14i9V3auWsZTAyi8J0YQ2PKrLx2MLoXWsFYQS4AHhaWRAuVl3GsKR+V/QbzQ== | ||
"@cornerstonejs/tools@^2.15.3": | ||
version "2.15.3" | ||
resolved "https://registry.yarnpkg.com/@cornerstonejs/tools/-/tools-2.15.3.tgz#b778f67f13faf62d625c6ce8bbe8eed656f29ba0" | ||
integrity sha512-NzEeII/xTc4kFjvCZ0HV3LNOtlkFvPobxwHePuMq9wa8/2M89+blDrbrm1IOkO0xKrKMNnTqt1wTzBjcy+TKGA== | ||
dependencies: | ||
"@types/offscreencanvas" "2019.7.3" | ||
comlink "^4.4.1" | ||
|
@@ -2225,6 +2225,29 @@ | |
worker-loader "3.0.8" | ||
xmlbuilder2 "3.0.2" | ||
|
||
"@kitware/[email protected]": | ||
version "32.9.0" | ||
resolved "https://registry.yarnpkg.com/@kitware/vtk.js/-/vtk.js-32.9.0.tgz#c905c92f50a1236d771e7d3c637d0c49127a48c5" | ||
integrity sha512-Tk9O++q6J4Z47DQnYXMnSeTmSRTQeK0Wa3447iGivCt162swOkIFCHBRtiwwHjWbe8tKCS8N/7d+eHCxkK7JtA== | ||
dependencies: | ||
"@babel/runtime" "7.22.11" | ||
"@types/webxr" "^0.5.5" | ||
commander "9.2.0" | ||
d3-scale "4.0.2" | ||
fast-deep-equal "^3.1.3" | ||
fflate "0.7.3" | ||
gl-matrix "3.4.3" | ||
globalthis "1.0.3" | ||
seedrandom "3.0.5" | ||
shader-loader "1.3.1" | ||
shelljs "0.8.5" | ||
spark-md5 "3.0.2" | ||
stream-browserify "3.0.0" | ||
utif "3.1.0" | ||
webworker-promise "0.5.0" | ||
worker-loader "3.0.8" | ||
xmlbuilder2 "3.0.2" | ||
|
||
"@lerna/[email protected]": | ||
version "7.4.2" | ||
resolved "https://registry.yarnpkg.com/@lerna/child-process/-/child-process-7.4.2.tgz#a2fd013ac2150dc288270d3e0d0b850c06bec511" | ||
|
@@ -15516,6 +15539,11 @@ pacote@^15.2.0: | |
ssri "^10.0.0" | ||
tar "^6.1.11" | ||
|
||
pako@^1.0.5, pako@~1.0.5: | ||
version "1.0.11" | ||
resolved "https://registry.yarnpkg.com/pako/-/pako-1.0.11.tgz#6c9599d340d54dfd3946380252a35705a6b992bf" | ||
integrity sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw== | ||
|
||
pako@^2.0.4: | ||
version "2.1.0" | ||
resolved "https://registry.yarnpkg.com/pako/-/pako-2.1.0.tgz#266cc37f98c7d883545d11335c00fbd4062c9a86" | ||
|
@@ -15526,11 +15554,6 @@ pako@~0.2.0: | |
resolved "https://registry.yarnpkg.com/pako/-/pako-0.2.9.tgz#f3f7522f4ef782348da8161bad9ecfd51bf83a75" | ||
integrity sha512-NUcwaKxUxWrZLpDG+z/xZaCgQITkA/Dv4V/T6bw7VON6l1Xz/VnrBqrYjZQ12TamKHzITTfOEIYUj48y2KXImA== | ||
|
||
pako@~1.0.5: | ||
version "1.0.11" | ||
resolved "https://registry.yarnpkg.com/pako/-/pako-1.0.11.tgz#6c9599d340d54dfd3946380252a35705a6b992bf" | ||
integrity sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw== | ||
|
||
param-case@^3.0.4: | ||
version "3.0.4" | ||
resolved "https://registry.yarnpkg.com/param-case/-/param-case-3.0.4.tgz#7d17fe4aa12bde34d4a77d91acfb6219caad01c5" | ||
|
@@ -19915,6 +19938,13 @@ [email protected], use-sync-external-store@^1.0.0: | |
resolved "https://registry.yarnpkg.com/use-sync-external-store/-/use-sync-external-store-1.2.2.tgz#c3b6390f3a30eba13200d2302dcdf1e7b57b2ef9" | ||
integrity sha512-PElTlVMwpblvbNqQ82d2n6RjStvdSoNe9FG28kNfz3WiXilJm4DdNkEzRhCZuIDwY8U08WVihhGR5iRqAwfDiw== | ||
|
||
[email protected]: | ||
version "3.1.0" | ||
resolved "https://registry.yarnpkg.com/utif/-/utif-3.1.0.tgz#4abec2f5d9cafe7813c0191e007927c125401f1c" | ||
integrity sha512-WEo4D/xOvFW53K5f5QTaTbbiORcm2/pCL9P6qmJnup+17eYfKaEhDeX9PeQkuyEoIxlbGklDuGl8xwuXYMrrXQ== | ||
dependencies: | ||
pako "^1.0.5" | ||
|
||
util-deprecate@^1.0.1, util-deprecate@^1.0.2, util-deprecate@~1.0.1: | ||
version "1.0.2" | ||
resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf" | ||
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we simply avoid overriding any values in the child? I know this tests for the SOPInstanceUID, but I would guess other things could get overridden.