diff --git a/src/common-principles.md b/src/common-principles.md index 9c2ff6c9f1..a407bb6586 100644 --- a/src/common-principles.md +++ b/src/common-principles.md @@ -852,6 +852,28 @@ A guide for using macros can be found at } ) }} +Example 5: Generalization of Examples 1 and 4 for a sidecar file without entities + + +{{ MACROS___make_filetree_example( + { + "sub-01": { + "anat": {}, + "func": { + "sub-01_task-xyz_acq-test1_run-1_bold.nii.gz": "", + "sub-01_task-xyz_acq-test1_run-2_bold.nii.gz": "", + } + }, + "bold.json": "", + } +) }} + +where `bold.json` in top directory would be applicable to all `_bold.nii.gz` +regardless of any other entity in their filename. + ## Participant names and other labels BIDS allows for custom user-defined `