File tree Expand file tree Collapse file tree 3 files changed +31
-16
lines changed Expand file tree Collapse file tree 3 files changed +31
-16
lines changed Original file line number Diff line number Diff line change @@ -65,3 +65,19 @@ EPISmallBVals:
65
65
- ' "bval" in associations'
66
66
checks :
67
67
- min(associations.bval.values) < 100
68
+
69
+ TotalReadoutTimeMustDefine :
70
+ issue :
71
+ code : TOTAL_READOUT_TIME_MUST_DEFINE
72
+ message : |
73
+ You must provide enough metadata to determine the TotalReadoutTime of this file.
74
+ `TotalReadoutTime` or `EffectiveEchoSpacing` satisfy this criterion.
75
+ level : error
76
+ selectors :
77
+ - datatype == "fmap"
78
+ - suffix == "epi"
79
+ - match(extension, "^\.nii(\.gz)?$")
80
+ checks :
81
+ - |
82
+ sidecar.TotalReadoutTime ||
83
+ sidecar.EffectiveEchoSpacing
Original file line number Diff line number Diff line change @@ -60,15 +60,27 @@ MRIFieldmapDirectFieldMapping:
60
60
Fieldmaps must be in units of Hertz (`"Hz"`),
61
61
radians per second (`"rad/s"`), or Tesla (`"T"`).
62
62
63
- # Case 4: Multiple phase encoded directions ("pepolar")
63
+ # Case 4: Multiple phase- encoded directions ("pepolar")
64
64
MRIFieldmapPepolar :
65
65
selectors :
66
66
- datatype == "fmap"
67
67
- suffix == "epi"
68
68
- match(extension, '\.nii(\.gz)?$')
69
69
fields :
70
- PhaseEncodingDirection : required
71
- TotalReadoutTime : required
70
+ PhaseEncodingDirection :
71
+ level : required
72
+ issue :
73
+ code : PHASE_ENCODING_DIRECTION_MUST_DEFINE
74
+ message : |
75
+ You have to define 'PhaseEncodingDirection' for this file.
76
+ TotalReadoutTime :
77
+ level : optional
78
+ level_addendum : |
79
+ required if other methods for calculating readout time are not present
80
+ EffectiveEchoSpacing :
81
+ level : optional
82
+ level_addendum : |
83
+ required if other methods for calculating readout time are not present
72
84
73
85
TB1EPI :
74
86
selectors :
Original file line number Diff line number Diff line change @@ -241,19 +241,6 @@ PhaseEncodingDirectionRec:
241
241
(see [Case 4: Multiple phase encoded
242
242
directions](#case-4-multiple-phase-encoded-directions-pepolar))
243
243
244
- PhaseEncodingDirectionReq :
245
- selectors :
246
- - datatype == "fmap"
247
- - suffix == "epi"
248
- - match(extension, "^\.nii(\.gz)?$")
249
- fields :
250
- PhaseEncodingDirection :
251
- level : required
252
- issue :
253
- code : PHASE_ENCODING_DIRECTION_MUST_DEFINE
254
- message : |
255
- You have to define 'PhaseEncodingDirection' for this file.
256
-
257
244
MRITimingParameters :
258
245
selectors :
259
246
- modality == "mri"
You can’t perform that action at this time.
0 commit comments