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(ContourSegmentationBaseTool ): Fixing ContourSegmentationBaseTool filter validation #1459

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

andrebot
Copy link
Contributor

@andrebot andrebot commented Sep 7, 2024

Context

Cornerstone is thrown into an error state after ContourSegmentationBaseTool fails to execute _getSegmentationRepresentation causing some unwanted side effects.

Changes & Results

Fixed the validation to better fail safe the method by validating an undefined return.

before:
with error

After:
fixed

Tested Environment

  • [] "OS: Windows 11
  • [] "Node version: 18.20.4"
  • [] "Browser: Edge 128.0.2739.63 (Official build) (64-bit)

Copy link

netlify bot commented Sep 7, 2024

Deploy Preview for cornerstone-3d-docs ready!

Name Link
🔨 Latest commit f5e0653
🔍 Latest deploy log https://app.netlify.com/sites/cornerstone-3d-docs/deploys/66dbcd30d137f5000839d150
😎 Deploy Preview https://deploy-preview-1459--cornerstone-3d-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.

@andrebot andrebot changed the title Fixing ContourSegmentationBaseTool filter validation fix(ContourSegmentationBaseTool ): Fixing ContourSegmentationBaseTool filter validation Sep 7, 2024
@IbrahimCSAE IbrahimCSAE self-requested a review September 7, 2024 04:39
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