Skip to content
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(PT measurement units): Use the modality unit that arrives from cornerstone3d instead of calculating the modality unit (again) here. #3533

Merged

Conversation

jbocce
Copy link
Collaborator

@jbocce jbocce commented Jul 12, 2023

Context

Addresses OHIF issue #3439.

Changes & Results

Use the modality unit that arrives from cornerstone3d instead of calculating the modality unit (again) here.
Added the 'petSeriesModule' to the MetadataProvider.

SUV scaled PTs will continue to show SUV as the units for the various statistical measurements (i.e. mean, max standard deviation).

non-SUV scaled, but rescale slope and intercept scaled PTs will show the unit from the (0054,1001) (i.e. units) DICOM tag. If the units DICOM tag value is empty, 'unitless' will be displayed.

non-SUV AND non-rescale slope and intercept scaled PTS will show 'raw' as the unit.

This PR also requires the cornerstone PR 686 to get merged and OHIF dependency updated.

Testing

Ensure that issue #3439 is fully addressed. There are lots of notes in that issue that should be covered by this PR.

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:

…rnerstone3d instead of calculating the modality unit (again) here.

Added the 'petSeriesModule' to the MetadataProvider.
This commit addresses OHIF issue 3439.
@netlify
Copy link

netlify bot commented Jul 12, 2023

Deploy Preview for ohif-dev ready!

Name Link
🔨 Latest commit fce064d
🔍 Latest deploy log https://app.netlify.com/sites/ohif-dev/deploys/64aff0d0844c120007e6204b
😎 Deploy Preview https://deploy-preview-3533--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.

@jbocce jbocce requested a review from sedghi July 12, 2023 16:12
@netlify
Copy link

netlify bot commented Jul 12, 2023

Deploy Preview for ohif-platform-docs ready!

Name Link
🔨 Latest commit fce064d
🔍 Latest deploy log https://app.netlify.com/sites/ohif-platform-docs/deploys/64aff0d07e6a9b00086dc772
😎 Deploy Preview https://deploy-preview-3533--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.

@codecov
Copy link

codecov bot commented Jul 12, 2023

Codecov Report

Merging #3533 (fce064d) into master (7d286a0) will decrease coverage by 0.06%.
The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #3533      +/-   ##
==========================================
- Coverage   42.81%   42.75%   -0.06%     
==========================================
  Files          82       82              
  Lines        1448     1450       +2     
  Branches      338      338              
==========================================
  Hits          620      620              
- Misses        665      667       +2     
  Partials      163      163              
Impacted Files Coverage Δ
platform/core/src/classes/MetadataProvider.js 4.08% <0.00%> (-0.06%) ⬇️

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 93a009f...fce064d. Read the comment docs.

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.

Looks good after the other one is merged

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

Successfully merging this pull request may close these issues.

2 participants