Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fix: Having sop instance in a per-frame or shared attribute breaks load #4560

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

wayfarer3130
Copy link
Contributor

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

Testing

Load the study with the per-frame data fromt he cornerstone chat

Checklist

PR

  • [] My Pull Request title is descriptive, accurate and follows the
    semantic-release format and guidelines.

Code

  • [] My code has been well-documented (function documentation, inline comments,
    etc.)

Public Documentation Updates

  • [] The documentation page has been updated as necessary for any public API
    additions or removals.

Tested Environment

  • [] OS:
  • [] Node version:
  • [] Browser:

@wayfarer3130 wayfarer3130 requested a review from sedghi November 29, 2024 16:14
Copy link

netlify bot commented Nov 29, 2024

Deploy Preview for ohif-platform-docs ready!

Name Link
🔨 Latest commit f72e6dc
🔍 Latest deploy log https://app.netlify.com/sites/ohif-platform-docs/deploys/6751f7198f31620008ea47b0
😎 Deploy Preview https://deploy-preview-4560--ohif-platform-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Nov 29, 2024

Deploy Preview for ohif-dev ready!

Name Link
🔨 Latest commit f72e6dc
🔍 Latest deploy log https://app.netlify.com/sites/ohif-dev/deploys/6751f719a00a0d0007a8304c
😎 Deploy Preview https://deploy-preview-4560--ohif-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

// 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) {
Copy link
Contributor Author

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

Copy link

cypress bot commented Nov 29, 2024

Viewers    Run #4524

Run Properties:  status check passed Passed #4524  •  git commit f72e6dcf47: revert change
Project Viewers
Branch Review fix/sop-instance-in-per-frame
Run status status check passed Passed #4524
Run duration 02m 08s
Commit git commit f72e6dcf47: revert change
Committer Bill Wallace
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 2
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 44
View all changes introduced in this branch ↗︎

Copy link
Member

@sedghi sedghi left a 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

datscan upside down.zip

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants