@@ -201,16 +201,18 @@ ASLTotalAcquiredPairsASLContextLength:
201201 code : TOTAL_ACQUIRED_VOLUMES_NOT_CONSISTENT
202202 message : |
203203 The number of values for 'TotalAcquiredPairs' for this file does not match number of
204- volumes in the associated 'aslcontext.tsv'.
205- 'TotalAcquiredPairs' is the original number of 3D volumes acquired for each volume defined in the
206- associated 'aslcontext.tsv'.
204+ control-label pairs in the associated 'aslcontext.tsv'.
205+ 'TotalAcquiredPairs' is the original number of control-label pairs
206+ defined in the associated 'aslcontext.tsv'.
207207 level : warning
208208 selectors :
209209 - suffix == "asl"
210210 - type(associations.aslcontext) != "null"
211211 - ' "TotalAcquiredPairs" in sidecar'
212+ - count(associations.aslcontext.volume_type, "control") > 0
212213 checks :
213- - aslcontext.n_rows == sidecar.TotalAcquiredPairs
214+ - count(associations.aslcontext.volume_type, "control") == sidecar.TotalAcquiredPairs
215+ - count(associations.aslcontext.volume_type, "label") == sidecar.TotalAcquiredPairs
214216
215217# 184
216218PostLabelingDelayGreater :
@@ -223,7 +225,7 @@ PostLabelingDelayGreater:
223225 - suffix == "asl"
224226 - sidecar.PostLabelingDelay != null
225227 checks :
226- - sidecar.PostLabelingDelay <= 10
228+ - max( sidecar.PostLabelingDelay) <= 10
227229
228230# 186
229231BolusCutOffDelayTimeGreater :
@@ -235,7 +237,7 @@ BolusCutOffDelayTimeGreater:
235237 selectors :
236238 - sidecar.BolusCutOffDelayTime != null
237239 checks :
238- - sidecar.BolusCutOffDelayTime <= 10
240+ - max( sidecar.BolusCutOffDelayTime) <= 10
239241
240242# 187
241243LabelingDurationGreater :
@@ -247,7 +249,7 @@ LabelingDurationGreater:
247249 selectors :
248250 - sidecar.LabelingDuration != null
249251 checks :
250- - sidecar.LabelingDuration <= 10
252+ - max( sidecar.LabelingDuration) <= 10
251253
252254# 196
253255ASLEchoTimeASLContextLength :
0 commit comments