fix(HangingProtocol): fix hp when unsupported series load first (#4145)
Co-authored-by: Michael Andersen <Michael.Andersen@rmp.uhn.ca> Co-authored-by: Bill Wallace <wayfarer3130@gmail.com>
This commit is contained in:
3 files changed
+1
-7
No files matched your search
@@ -14,7 +14,6 @@ const defaultProtocol = {
|
|||||||
editableBy: {},
|
editableBy: {},
|
||||||
protocolMatchingRules: [],
|
protocolMatchingRules: [],
|
||||||
toolGroupIds: ['default'],
|
toolGroupIds: ['default'],
|
||||||
hpInitiationCriteria: { minSeriesLoaded: 1 },
|
|
||||||
// -1 would be used to indicate active only, whereas other values are
|
// -1 would be used to indicate active only, whereas other values are
|
||||||
// the number of required priors referenced - so 0 means active with
|
// the number of required priors referenced - so 0 means active with
|
||||||
// 0 or more priors.
|
// 0 or more priors.
|
||||||
|
|||||||
@@ -1,5 +0,0 @@
|
|||||||
const LOW_PRIORITY_MODALITIES = Object.freeze(['SEG', 'KO', 'PR', 'SR', 'RTSTRUCT']);
|
|
||||||
|
|
||||||
export default function isLowPriorityModality(Modality) {
|
|
||||||
return LOW_PRIORITY_MODALITIES.includes(Modality);
|
|
||||||
}
|
|
||||||
@@ -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) {
|
export default function isLowPriorityModality(Modality) {
|
||||||
return LOW_PRIORITY_MODALITIES.includes(Modality);
|
return LOW_PRIORITY_MODALITIES.includes(Modality);
|
||||||
|
|||||||
Reference in new issue
Block a user