Skip to content

Commit

Permalink
fix(HangingProtocol): fix hp when unsupported series load first (#4145)
Browse files Browse the repository at this point in the history
Co-authored-by: Michael Andersen <[email protected]>
Co-authored-by: Bill Wallace <[email protected]>
  • Loading branch information
3 people authored May 21, 2024
1 parent bf3acd0 commit b124c91
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 7 deletions.
1 change: 0 additions & 1 deletion extensions/default/src/getHangingProtocolModule.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ const defaultProtocol = {
editableBy: {},
protocolMatchingRules: [],
toolGroupIds: ['default'],
hpInitiationCriteria: { minSeriesLoaded: 1 },
// -1 would be used to indicate active only, whereas other values are
// the number of required priors referenced - so 0 means active with
// 0 or more priors.
Expand Down
5 changes: 0 additions & 5 deletions platform/core/src/utils/isLowPriorityModality.js

This file was deleted.

2 changes: 1 addition & 1 deletion platform/core/src/utils/isLowPriorityModality.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const LOW_PRIORITY_MODALITIES = Object.freeze(['SEG', 'KO', 'PR', 'SR', 'RTSTRUCT']);
const LOW_PRIORITY_MODALITIES = Object.freeze(['SEG', 'KO', 'PR', 'SR', 'RTSTRUCT', 'RTDOSE', 'RTPLAN', 'RTRECORD', 'REG']);

export default function isLowPriorityModality(Modality) {
return LOW_PRIORITY_MODALITIES.includes(Modality);
Expand Down

0 comments on commit b124c91

Please sign in to comment.