Skip to content

Commit

Permalink
[SCHEMA] Use macro for filename templates in file collections appendix (
Browse files Browse the repository at this point in the history
  • Loading branch information
tsalo authored Jul 15, 2021
1 parent 5de7cfc commit 87ca2c1
Showing 1 changed file with 25 additions and 12 deletions.
37 changes: 25 additions & 12 deletions src/99-appendices/10-file-collections.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,19 @@ included in this appendix:

### Anatomy imaging data

Template:

```Text
sub-<label>/[ses-<label>/]
anat/
sub-<label>[_ses-<label>][_acq-<label>][_ce-<label>][_rec-<label>][_run-<index>][_echo-<index>][_flip-<index>][_inv-<index>][_mt-<label>][_part-<label>]_<suffix>.nii[.gz]
```
{{ MACROS___make_filename_template(
datatypes=["anat"],
suffixes=[
"VFA",
"IRT1",
"MP2RAGE",
"MESE",
"MEGRE",
"MTR",
"MTS",
"MPM",
])
}}

| **Suffix** | **Linking entities** | **Application** | **Description** |
|------------|-----------------------|--------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
Expand All @@ -43,11 +49,18 @@ sub-<label>/[ses-<label>/]

### Fieldmap data

```Text
sub-<label>/[ses-<label>/]
fmap/
sub-<label>[_ses-<label>][_acq-<label>][_ce-<label>][_rec-<label>][_run-<index>][_echo-<index>][_flip-<index>][_inv-<index>][_mt-<label>][_part-<label>]_<suffix>.nii[.gz]
```
{{ MACROS___make_filename_template(
datatypes=["fmap"],
suffixes=[
"TB1DAM",
"TB1EPI",
"TB1AFI",
"TB1TFL",
"TB1RFM",
"TB1SRGE",
"RB1COR",
])
}}

| **Suffix** | **Meta-data relevant entity** | **Application** | **Description** |
|------------|--------------------------------------------------------------|------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
Expand Down

0 comments on commit 87ca2c1

Please sign in to comment.