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(dicom-video): Update get direct func for dicom json to use url if present and fix config argument #4017

Merged
merged 3 commits into from
Apr 10, 2024

Conversation

igoroctaviano
Copy link
Contributor

@igoroctaviano igoroctaviano commented Apr 8, 2024

Context

In order to use dicom json datastore with video es dicom files, the URL from dicom json has to be passed to the direct URL method so it will be used as the video src

Changes & Results

  • Fix getDirectURL config arg not being passed down correctly
  • Pass and use the dicom json url attribute if present to the getDirectURL function
  • Update formatWithEllipsis check to avoid runtime errors

Testing

Load a ES study using dicom json

Checklist

N/A

PR

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

Code

N/A

Public Documentation Updates

N/A

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

Tested Environment

  • "OS: 14.4.1 (23E224)
  • "Node version: 16.14
  • "Browser: Chrome Version 123.0.6312.59 (Official Build) (x86_64)

Copy link

netlify bot commented Apr 8, 2024

Deploy Preview for ohif-platform-docs ready!

Name Link
🔨 Latest commit d520d79
🔍 Latest deploy log https://app.netlify.com/sites/ohif-platform-docs/deploys/66156a6c993d1400084592cb
😎 Deploy Preview https://deploy-preview-4017--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 Apr 8, 2024

Deploy Preview for ohif-dev ready!

Name Link
🔨 Latest commit d520d79
🔍 Latest deploy log https://app.netlify.com/sites/ohif-dev/deploys/66156a6c775ef500086c3685
😎 Deploy Preview https://deploy-preview-4017--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.

@igoroctaviano igoroctaviano changed the title fix(dicom-video): Update get direct func for dicom json to use url if present fix(dicom-video): Update get direct func for dicom json to use url if present and fix config argument Apr 8, 2024
Copy link

codecov bot commented Apr 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 44.37%. Comparing base (dc0b183) to head (d520d79).

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #4017   +/-   ##
=======================================
  Coverage   44.37%   44.37%           
=======================================
  Files          80       80           
  Lines        1334     1334           
  Branches      327      327           
=======================================
  Hits          592      592           
  Misses        589      589           
  Partials      153      153           

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 dc0b183...d520d79. Read the comment docs.

Copy link

cypress bot commented Apr 8, 2024

Passing run #3803 ↗︎

0 43 0 0 Flakiness 0

Details:

CR Update
Project: Viewers Commit: d520d79925
Status: Passed Duration: 06:08 💡
Started: Apr 9, 2024 4:30 PM Ended: Apr 9, 2024 4:37 PM

Review all test suite changes for PR #4017 ↗︎

@wayfarer3130
Copy link
Contributor

Can you rebase and check the failing tests?

@sedghi sedghi merged commit 4f99244 into master Apr 10, 2024
11 checks passed
thanh-nguyen-dang pushed a commit to uc-cdis/Viewers that referenced this pull request May 1, 2024
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.

3 participants