Skip to content

Conversation

@wayfarer3130
Copy link
Contributor

Context

The current split rules in default are very general and don't allow for customization without replacing the split rule.
This causes some splits such as one that causes the rendering of series that contain two different window level values to be wrong when it applies a single volumetric WL.
It also has series that have a scout image plus volumetric data to be incorrectly merged.

Changes & Results

This PR adds customizable split rules that allow updating the split rules for specific situations.
It then adds a specific rule to address #5530

Testing

Display the study from [5530], it should show the DWI series split into B-value containing and B-Value absent display sets, each with a correct window level for the volume.

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 Jan 21, 2026

Deploy Preview for ohif-dev canceled.

Name Link
🔨 Latest commit 4c8d30e
🔍 Latest deploy log https://app.netlify.com/projects/ohif-dev/deploys/697116ab19b2b500089e8da0

@cypress
Copy link

cypress bot commented Jan 21, 2026

Viewers    Run #5872

Run Properties:  status check passed Passed #5872  •  git commit 4c8d30ee88: fix: Custom split rules to avoid merging BValue containing/missing
Project Viewers
Branch Review fix/dwi-wrong-wl-split
Run status status check passed Passed #5872
Run duration 02m 20s
Commit git commit 4c8d30ee88: fix: Custom split rules to avoid merging BValue containing/missing
Committer Bill Wallace
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
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 0
Tests that passed  Passing 37
View all changes introduced in this branch ↗︎

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