Skip to content

Commit a7c86f1

Browse files
committed
Add monotonic increase tests
1 parent b9ea963 commit a7c86f1

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

src/schema/rules/checks/mri.yaml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,32 @@ EESGreaterThanTRT:
8686
checks:
8787
- sidecar.EffectiveEchoSpacing < sidecar.TotalReadoutTime
8888

89+
# 188
90+
VolumeTimingNotMonotonicallyIncreasing:
91+
issue:
92+
code: VOLUME_TIMING_NOT_MONOTONICALLY_INCREASING
93+
message: |
94+
'VolumeTiming' is not monotonically increasing.
95+
level: error
96+
selectors:
97+
- modality == "MRI"
98+
- sidecar.VolumeTiming != null
99+
checks:
100+
- sorted(sidecar.VolumeTiming) == sidecar.VolumeTiming
101+
102+
# 192
103+
BolusCutOffDelayTimeNotMonotonicallyIncreasing:
104+
issue:
105+
code: BOLUS_CUT_OFF_DELAY_TIME_NOT_MONOTONICALLY_INCREASING
106+
message: |
107+
'BolusCutOffDelayTime' is not monotonically increasing.
108+
level: error
109+
selectors:
110+
- modality == "MRI"
111+
- sidecar.BolusCutoffDelayTime != null
112+
checks:
113+
- sorted(sidecar.BolusCutoffDelayTime) == sidecar.BolusCutoffDelayTime
114+
89115
# 201
90116
RepetitionTimePreparationNotConsistent:
91117
issue:

0 commit comments

Comments
 (0)