fix: Re-enable hpScale module (#4237)

This commit is contained in:
Bill Wallace authored and GitHub committed 2024-06-17 22:21:16 -04:00
1 parent c7a2000873
commit 2eab049d79
3 files changed
+10 -6

No files matched your search

@@ -42,6 +42,7 @@ const defaultProtocol = {
// Try to match series with images by default, to prevent weird display
// on SEG/SR containing studies
{
weight: 10,
attribute: 'numImageFrames',
constraint: {
greaterThan: { value: 0 },
@@ -106,11 +107,6 @@ function getHangingProtocolModule() {
name: defaultProtocol.id,
protocol: defaultProtocol,
},
// Create a MxN hanging protocol available by default
{
name: hpMNGrid.id,
protocol: hpMNGrid,
},
// Create a MxN comparison hanging protocol available by default
{
name: hpMNCompare.id,
@@ -124,6 +120,11 @@ function getHangingProtocolModule() {
name: hpScale.id,
protocol: hpScale,
},
// Create a MxN hanging protocol available by default
{
name: hpMNGrid.id,
protocol: hpMNGrid,
},
];
}
@@ -32,6 +32,7 @@ const hpScale: Types.HangingProtocol.Protocol = {
defaultDisplaySetId: {
seriesMatchingRules: [
{
weight: 1,
attribute: 'numImageFrames',
constraint: {
greaterThan: { value: 0 },