-
-
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: 2965 Correct Parsing Logic for Qualitative Instance Level SR #2972
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2972 +/- ##
==========================================
- Coverage 12.68% 11.94% -0.74%
==========================================
Files 306 307 +1
Lines 8233 8448 +215
Branches 1593 1677 +84
==========================================
- Hits 1044 1009 -35
- Misses 5797 5954 +157
- Partials 1392 1485 +93
Continue to review full report at Codecov.
|
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.
Please updat the description of the PR, I'm not in the loop of what is happening. Why we are removing referenced images?
I second @sedghi - @GitanjaliChhetri can you please summarize what this PR is doing and why? |
Updated the description to explain the fix, |
@GitanjaliChhetri can you please include specific SR samples that you are using to guide the development in this PR and test the revised code?
What do you mean by "reference images" here?
I am not sure I understand what this means either ("as it should not look for CodeValue from ImagingMeasurements"). |
@fedorov Please see the investigation details below: This issue was opened to double check the fix done for #2935. What was the bug? Failed to parse the SR display set (dataset here: #2935 (comment)) TID 1501 (Measurement group) content is obtained from https://github.com/GitanjaliChhetri/Viewers/blob/7aba01f534b70406ce02e1708004141c7b773904/platform/core/src/DICOMSR/SCOORD3D/parseSCOORD3D.js#L31 Few other SR samples I used for regression testing can be found in these older issues - |
I let @igoroctaviano review first |
|
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.
LGTM
Fix for #2965
Explanation below:
Qualitative slice-level SR annotations are within the Measurement Group container, which is obtained through
Viewers/platform/core/src/DICOMSR/SCOORD3D/parseSCOORD3D.js
Line 31 in 7aba01f
This particular dataset did not have any ImageLibrary, hence getReferenceImagesList() was throwing errors.
I modified platform/core/src/DICOMSR/SCOORD3D/utils/getReferencedImagesList.js as it should not look for CodeValue from ImagingMeasurements.