File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -185,6 +185,27 @@ references (the cases in which they are used will be presented later):
185185 When multiple references are aggregated, the first reference takes
186186 precedence.
187187
188+ Note also that `value : null` can be used to "delete" a key from a template.
189+ For example, in `rules.files.raw.events` :
190+
191+ ` ` ` YAML
192+ events__pet:
193+ $ref: rules.files.raw.events.events
194+ datatypes:
195+ - pet
196+ entities:
197+ $ref: meta.templates.raw.task.entities
198+ tracer: optional
199+ reconstruction: optional
200+ # Most events allow acquisition, PET doesn't
201+ acquisition: null
202+ ` ` `
203+
204+ This technique should be used judiciously, preferring semantic clarity to brevity.
205+ Templates should be expected to grow as BIDS evolves,
206+ and should thus be used only where those changes should propagate.
207+
208+
188209# ## Expressions
189210
190211Rules definitions make use of a limited language of expressions that always evaluate to `true` or `false`.
You can’t perform that action at this time.
0 commit comments