Skip to content

Conversation

@wayfarer3130
Copy link
Contributor

Context

Going into 3d main view after adding a segmentation causes the segmentation to disappear from all windows.

There is a separate issue that the segmentation isn't listed in the right hand panel, but I'd like to get the basic exceptions fixed and then worry about the UI fix separately.

Changes & Results

List @icr/polyseg-wasm in the pluginConfig so that the library is available.

Testing

See the issue: #5651 for details.
Also, #5643 is addressed as far as the exceptions/ability to hydrate.

The issues with various viewports not getting correctly synced is a separate issue.

Checklist

PR

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

Code

  • [] My code has been well-documented (function documentation, inline comments,
    etc.)

Public Documentation Updates

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

Tested Environment

  • [] OS:
  • [] Node version:
  • [] Browser:

@netlify
Copy link

netlify bot commented Dec 19, 2025

Deploy Preview for ohif-dev canceled.

Name Link
🔨 Latest commit ed2edb8
🔍 Latest deploy log https://app.netlify.com/projects/ohif-dev/deploys/6969ab1b8d39f60008d6c615

"directory": "./platform/public"
},
{
"packageName": "@icr/polyseg-wasm",
Copy link
Member

Choose a reason for hiding this comment

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

this is very strange. it was working before, and we didn't have this here at the time it was working. So i'm wondering what has changed that we need this here

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It wasn't failing before because it wasn't actually invoking the convert to labelmap code, it was just displaying the contour as is. If you know a specific date/branch that it was both loading successfully AND auto-converting to labelmap, please let me know when that got added/changed.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Checked mid-april build - definitely was just loading rtstruct as contours at that point.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It doesn't work as of October 3rd either - so I'm wondering when you think this could have been working.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is only needed for dev:fast running - somehow the full run is ok generally, whether I build it locally or it is the production build.

@jbocce jbocce self-requested a review December 19, 2025 19:28
Copy link
Collaborator

@jbocce jbocce left a comment

Choose a reason for hiding this comment

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

See @sedghi's comment. Also, I think @aimee-ferreira should be listed as a reviewer to test this.

@cypress
Copy link

cypress bot commented Jan 5, 2026

Viewers    Run #5869

Run Properties:  status check failed Failed #5869  •  git commit ed2edb83f5: Merge branch 'fix/mpr-reformat-named' into fix/segmentation-disappear
Project Viewers
Branch Review fix/segmentation-disappear
Run status status check failed Failed #5869
Run duration 02m 50s
Commit git commit ed2edb83f5: Merge branch 'fix/mpr-reformat-named' into fix/segmentation-disappear
Committer Bill Wallace
View all properties for this run ↗︎

Test results
Tests that failed  Failures 13
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 0
Tests that did not run due to a failure in a mocha hook  Skipped 24
Tests that passed  Passing 0
View all changes introduced in this branch ↗︎

Tests for review

Failed  study-list/OHIFStudyList.spec.js • 1 failed test

View Output Video

Test Artifacts
OHIF Study List > Desktop resolution > Displays several studies initially Test Replay Screenshots Video
Failed  measurement-tracking/OHIFCornerstoneToolbar.spec.js • 1 failed test

View Output Video

Test Artifacts
OHIF Cornerstone Toolbar > checks if all primary buttons are being displayed Test Replay Screenshots Video
Failed  measurement-tracking/OHIFMeasurementPanel.spec.js • 1 failed test

View Output Video

Test Artifacts
OHIF Measurement Panel > checks if Measurements right panel can be hidden/displayed Test Replay Screenshots Video
Failed  measurement-tracking/OHIFCornerstoneHotkeys.spec.js • 1 failed test

View Output Video

Test Artifacts
OHIF Cornerstone Hotkeys > checks if hotkeys "R" and "L" can rotate the image Test Replay Screenshots Video
Failed  measurement-tracking/OHIFStudyBrowser.spec.js • 1 failed test

View Output Video

Test Artifacts
OHIF Study Browser > checks if series thumbnails are being displayed Test Replay Screenshots Video

The first 5 failed specs are shown, see all 12 specs in Cypress Cloud.

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.

4 participants