-
-
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
base: master
Are you sure you want to change the base?
Conversation
✅ Deploy Preview for ohif-platform-docs ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for ohif-dev canceled.
|
// During a resize, the slice index should remain unchanged. This is a temporary fix for | ||
// a larger issue regarding the definition of slice index with slab thickness. | ||
// We need to revisit this to make it more robust and understandable. | ||
delete presentation.viewReference.sliceIndex; | ||
if (presentation?.viewReference) { |
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.
This is still an issue entering MPR mode, but at least it doesn't throw
Viewers Run #4646
Run Properties:
|
Project |
Viewers
|
Branch Review |
fix/sop-instance-in-per-frame
|
Run status |
Passed #4646
|
Run duration | 02m 21s |
Commit |
a3c36e9f8b: Merge branch 'master' into fix/sop-instance-in-per-frame
|
Committer | Bill Wallace |
View all properties for this run ↗︎ |
Test results | |
---|---|
Failures |
0
|
Flaky |
0
|
Pending |
2
|
Skipped |
0
|
Passing |
44
|
View all changes introduced in this branch ↗︎ |
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.
This is broken now after this PR, it does not go MPR, it was working before
@wayfarer3130 can you upload an anonymized study that does not work right now or bug report issue number |
@sedghi - could you check the uploaded study? That study works correctly now, but I don't understand why your MPR issue breaks. I tried looking at that, but if you could help debug that with me sometime I'd appreciate it. |
aent### Context
Some PACS systems combine single frame into multi-frame and then record the original SOPInstanceUID in the per frame attribute sequence. This PR simply omits such per frame instances.
Changes & Results
Uses a shared object for the parent series/instance data rather than merging, and avoid over-riding anything containing a SOP instance UID.
This addresses #4551
It also addresses the issue from Jagan Vijayaraghavan in slack, for which he provided the study below.
StudyWithSOPInFrameSequence.zip
The issue is that a shared functional groups sequence contains an original SOP instance UID for another object, and that SOP ends up replacing the correct SOP/Series UIDs, causing the wrong UIDs to be used.
Testing
Load the study with the per-frame data from the cornerstone chat
Checklist
PR
semantic-release format and guidelines.
Code
etc.)
Public Documentation Updates
additions or removals.
Tested Environment