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: #2964 Update message for segmentation error loading due to orien… #2982

Merged
merged 1 commit into from
Oct 28, 2022

Conversation

GitanjaliChhetri
Copy link

Fixes #2964

Fix summary:
Update the error message for segmentation load failure due to orientation tolerance value.
Direct user to change the tolerance value under Segmentation settings.

segtol

@GitanjaliChhetri GitanjaliChhetri mentioned this pull request Oct 14, 2022
@codecov
Copy link

codecov bot commented Oct 14, 2022

Codecov Report

Merging #2982 (845e2a5) into master (fe57c00) will decrease coverage by 0.74%.
The diff coverage is 2.08%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2982      +/-   ##
==========================================
- Coverage   12.68%   11.93%   -0.75%     
==========================================
  Files         306      307       +1     
  Lines        8233     8451     +218     
  Branches     1593     1680      +87     
==========================================
- Hits         1044     1009      -35     
- Misses       5797     5954     +157     
- Partials     1392     1488      +96     
Impacted Files Coverage Δ
...latform/core/src/DICOMSR/SCOORD3D/parseSCOORD3D.js 2.63% <0.00%> (-0.76%) ⬇️
.../core/src/DICOMSR/SCOORD3D/utils/addMeasurement.js 5.40% <ø> (ø)
.../DICOMSR/SCOORD3D/utils/getReferencedImagesList.js 6.25% <0.00%> (-0.90%) ⬇️
...re/src/DICOMSR/SCOORD3D/utils/getRenderableData.js 1.72% <0.00%> (-0.07%) ⬇️
...orm/core/src/DICOMSR/parseDicomStructuredReport.js 7.50% <0.00%> (-1.60%) ⬇️
platform/core/src/classes/HotkeysManager.js 76.66% <0.00%> (ø)
platform/core/src/classes/StudyLoadingListener.js 1.03% <0.00%> (+0.01%) ⬆️
...latform/core/src/classes/metadata/StudyMetadata.js 1.25% <0.00%> (-0.04%) ⬇️
.../core/src/measurements/tools/dicomSRDisplayTool.js 50.00% <0.00%> (ø)
.../src/studies/services/wado/studyInstanceHelpers.js 1.56% <0.00%> (-0.48%) ⬇️
... and 25 more

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 eaa423c...845e2a5. Read the comment docs.

Copy link
Contributor

@igoroctaviano igoroctaviano left a comment

Choose a reason for hiding this comment

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

Hi @GitanjaliChhetri. Thanks for your contribution.
The error message LGTM. Before moving forward I have some questions:

  1. Do we want to display this information next to the thumbnail as an inconsistency warning as well? (when you hover the thumbnail warning icon)
  2. I think we can add this error message only in the dicom-segmentation extension since this is a segmentation-specific error message, right? there's any other case why this would not be enough?

@GitanjaliChhetri
Copy link
Author

Thanks, @igoroctaviano !

  1. We already display the inconsistency warning in the thumbnail. The warning message in the thumbnail is the original message from dcmjs. Please refer the picture.
    image

  2. The modified message aims at redirecting the user to segmentation panel settings in order to support viewing of segmentations that are detected as non-planar due to the 32 bit float rounding error (for example, for segmentations converted from nii to dcm, original issue here Segmentations converted from nii to dcm not rendered in OHIF Viewer #2869 (comment)) .
    Since dcmjs is an external library, I think we are good keeping this modified message containing information about the UI of the upper level App within OHIF.

Copy link
Contributor

@igoroctaviano igoroctaviano left a comment

Choose a reason for hiding this comment

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

LGTM

@GitanjaliChhetri GitanjaliChhetri merged commit 545161d into OHIF:master Oct 28, 2022
zhengdechang1 added a commit to JancsiTech/Viewers that referenced this pull request Feb 21, 2023
commit b990ae1
Author: zheng dechang <[email protected]>
Date:   Mon Feb 20 10:06:35 2023 +0800

    Resolve conflicts with the master

commit 9697720
Author: zheng dechang <[email protected]>
Date:   Fri Feb 17 18:13:58 2023 +0800

    update package.json

commit 2ff7a87
Author: zheng dechang <[email protected]>
Date:   Fri Feb 17 18:00:07 2023 +0800

    change package.json

commit a904bea
Author: zheng dechang <[email protected]>
Date:   Fri Feb 17 17:45:49 2023 +0800

    change viewer/package.json

commit 4cdef30
Author: zheng dechang <[email protected]>
Date:   Fri Feb 17 17:44:46 2023 +0800

    change yarn dependency

commit f32da9d
Author: zheng dechang <[email protected]>
Date:   Fri Feb 17 14:35:40 2023 +0800

    changed the dependent installation mode
    1、remove the cnpm installation

commit 24f0bf7
Author: zhengdechang1 <[email protected]>
Date:   Wed Dec 21 17:40:41 2022 +0800

    color bug

commit d685cad
Author: zhengdechang1 <[email protected]>
Date:   Wed Dec 21 17:14:48 2022 +0800

    add lookInfo.js

commit 6dc6a33
Author: zhengdechang1 <[email protected]>
Date:   Wed Dec 21 17:07:12 2022 +0800

    delete lookinfo.js

commit 2440725
Author: zhengdechang1 <[email protected]>
Date:   Wed Dec 21 15:47:56 2022 +0800

    [bug-modify]:Prompt to replace the server when the service is unavailable

commit 831ccf2
Author: zhengdechang1 <[email protected]>
Date:   Wed Dec 21 10:35:37 2022 +0800

    [add-description]:redeme.md edit

commit d4f1ac5
Author: zhengdechang1 <[email protected]>
Date:   Wed Dec 21 10:22:18 2022 +0800

    [add-description]:add series tag and instance info

commit 34d2dd4
Author: zhengdechang1 <[email protected]>
Date:   Fri Dec 16 16:12:44 2022 +0800

    [add-description]:Added Viewing Information

commit 5b0eada
Author: zhengdechang1 <[email protected]>
Date:   Wed Nov 30 17:04:07 2022 +0800

    [bug-modify]:Changing the Default Port

commit d5027b6
Author: zhengdechang1 <[email protected]>
Date:   Wed Nov 30 16:57:34 2022 +0800

    [bug-modify]:Service table alignment

commit dcbdd9b
Author: zhengdechang1 <[email protected]>
Date:   Wed Nov 30 16:45:05 2022 +0800

    [bug-modify]:placeholder bug

commit 899fe40
Author: zhengdechang1 <[email protected]>
Date:   Wed Nov 30 16:24:34 2022 +0800

    [add-description]:add deleter Icon

commit 392768a
Author: zhengdechang1 <[email protected]>
Date:   Wed Nov 30 16:23:54 2022 +0800

    [add-description]:The server drop-down list is used to modify and delete service functions

commit 0967337
Author: zhengdechang1 <[email protected]>
Date:   Wed Nov 30 15:04:51 2022 +0800

    [bug-modify]:claer console

commit b50ad61
Author: zhengdechang1 <[email protected]>
Date:   Wed Nov 30 14:55:56 2022 +0800

    [add-description]:Changing the service name is supported

commit 23b0340
Author: zhengdechang1 <[email protected]>
Date:   Wed Nov 30 13:57:03 2022 +0800

    [add-description]:Added service drop-down

commit 5460bf7
Author: zhengdechang1 <[email protected]>
Date:   Wed Nov 30 11:43:34 2022 +0800

    [bug-modify]: change fetch of default port 2099

commit 981f6f7
Author: zhengdechang1 <[email protected]>
Date:   Tue Nov 29 17:28:47 2022 +0800

    [bug-modify]:edit ?. bug

commit 7970e3d
Author: zhengdechang1 <[email protected]>
Date:   Tue Nov 29 17:16:07 2022 +0800

    [add-description]:add Readme,me

commit a441b8a
Author: zhengdechang1 <[email protected]>
Date:   Tue Nov 29 14:50:08 2022 +0800

    [add-description]:Example Change 88 to the default service

commit 1aea480
Author: zhengdechang1 <[email protected]>
Date:   Tue Nov 29 14:06:25 2022 +0800

    [add-description]:Dependency error problem

commit bdab5cb
Author: zhengdechang1 <[email protected]>
Date:   Tue Nov 29 14:04:01 2022 +0800

    [add-description]: nginx congif

commit a257584
Author: zhengdechang1 <[email protected]>
Date:   Tue Nov 29 13:33:14 2022 +0800

    [add-description]:add readme.md config

commit 00c6b88
Author: zhengdechang1 <[email protected]>
Date:   Mon Nov 28 11:15:26 2022 +0800

    [add-description]:add server ping function

commit aa0770d
Author: zhengdechang1 <[email protected]>
Date:   Fri Nov 25 15:06:12 2022 +0800

    [add-description]:setting serverList to localStorage

commit 98d6725
Author: zhengdechang1 <[email protected]>
Date:   Thu Nov 24 15:57:38 2022 +0800

    [add-description]:change project system basic information in  right of header

commit bf47abb
Author: zhengdechang1 <[email protected]>
Date:   Thu Nov 24 15:30:50 2022 +0800

    [add-description]:replace logo with jancsitech logo and edit build model(orthanc)

commit 264be97
Author: zhengdechang1 <[email protected]>
Date:   Wed Nov 23 15:00:40 2022 +0800

    [bug-modify]:viewer disabled loading dicom issue

commit d305fc5
Author: zhengdechang1 <[email protected]>
Date:   Wed Nov 23 11:51:09 2022 +0800

    [add-description]:Dynamic change service

commit 6007f34
Author: ohif-bot <[email protected]>
Date:   Sat Nov 12 16:03:12 2022 +0000

    chore(release): publish [skip ci]

     - @ohif/[email protected]
     - @ohif/[email protected]
     - @ohif/[email protected]

commit 4473807
Author: Pauline Ribeyre <[email protected]>
Date:   Sat Nov 12 10:01:21 2022 -0600

    fix: handle missing ReferencedInstanceSequence attribute (OHIF#2786)

commit 686fe7d
Author: ohif-bot <[email protected]>
Date:   Wed Nov 2 21:22:01 2022 +0000

    chore(release): publish [skip ci]

     - @ohif/[email protected]
     - @ohif/[email protected]
     - @ohif/[email protected]

commit 0b8facb
Author: Gitanjali <[email protected]>
Date:   Wed Nov 2 15:20:20 2022 -0600

    remove-unsed-code-from-SR-parsing (OHIF#2997)

commit 0f89aa3
Author: ohif-bot <[email protected]>
Date:   Fri Oct 28 17:55:54 2022 +0000

    chore(release): publish [skip ci]

     - @ohif/[email protected]
     - @ohif/[email protected]
     - @ohif/[email protected]
     - @ohif/[email protected]

commit 545161d
Author: Gitanjali <[email protected]>
Date:   Fri Oct 28 11:54:19 2022 -0600

    fix: OHIF#2964 Update message for segmentation error loading due to orientation tolerance (OHIF#2982)
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.

IDC: change message for segmentation when it fails to load because of orientation to
2 participants