fix: Custom split rules to avoid merging BValue containing/missing #5734
+821
−232
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
semantic-release format and guidelines.
Code
etc.)
Public Documentation Updates
additions or removals.
Tested Environment