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(MetadataProvider): Update metadata provider to resolve issues after dicomweb update/new return value #2363

Merged
merged 4 commits into from
Apr 15, 2021

Conversation

igoroctaviano
Copy link
Contributor

@igoroctaviano igoroctaviano commented Apr 15, 2021

The MetadataProvider should parse string values from the dataset to valid numbers to avoid parsing issues inside libraries that consume the provider like cornerstone.

@igoroctaviano igoroctaviano added the Bug Verified Bug reported, reproducible, and verified. label Apr 15, 2021
@igoroctaviano igoroctaviano changed the title fix(wl): fix metadata provider window level issues after dicomweb update/new return fix(MetadataProvider): Update metadata provider to resolve issues after dicomweb update/new return value Apr 15, 2021
Copy link
Contributor

@Punzo Punzo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@codecov
Copy link

codecov bot commented Apr 15, 2021

Codecov Report

Merging #2363 (f85f856) into master (193ff12) will decrease coverage by 0.01%.
The diff coverage is 3.70%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2363      +/-   ##
==========================================
- Coverage   13.52%   13.50%   -0.02%     
==========================================
  Files         286      287       +1     
  Lines        7467     7485      +18     
  Branches     1408     1414       +6     
==========================================
+ Hits         1010     1011       +1     
- Misses       5243     5254      +11     
- Partials     1214     1220       +6     
Impacted Files Coverage Δ
platform/core/src/classes/MetadataProvider.js 3.94% <0.00%> (-0.06%) ⬇️
...latform/core/src/classes/metadata/StudyMetadata.js 1.64% <0.00%> (-0.04%) ⬇️
...form/core/src/utils/isDisplaySetReconstructable.js 3.37% <0.00%> (-0.25%) ⬇️
...src/connectedComponents/ViewerRetrieveStudyData.js 0.00% <0.00%> (ø)
...orm/core/src/utils/metadataProvider/validNumber.js 25.00% <25.00%> (ø)

Continue to review full report at Codecov.

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

@cypress
Copy link

cypress bot commented Apr 15, 2021



Test summary

77 0 0 0


Run details

Project Viewers
Status Passed
Commit f85f856
Started Apr 15, 2021 12:49 PM
Ended Apr 15, 2021 12:54 PM
Duration 05:52 💡
OS Linux Debian - 10.6
Browser Chrome 86

View run in Cypress Dashboard ➡️


This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard

@igoroctaviano igoroctaviano merged commit 29afddb into master Apr 15, 2021
@igoroctaviano igoroctaviano self-assigned this May 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Verified Bug reported, reproducible, and verified.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants