Skip to content

Commit 3675f99

Browse files
tsaloeffigies
authored andcommitted
Split MEGRE and MESE.
1 parent 80bdb46 commit 3675f99

File tree

2 files changed

+34
-5
lines changed

2 files changed

+34
-5
lines changed

src/schema/rules/files/deriv/preprocessed_data.yaml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,21 @@ anat_defacemask_common:
2626
space: optional
2727
description: optional
2828

29-
anat_multiecho_common:
29+
anat_megre_common:
3030
selectors:
3131
- dataset.dataset_description.DatasetType == 'derivative'
32-
$ref: rules.files.raw.anat.multiecho
32+
$ref: rules.files.raw.anat.megre
3333
entities:
34-
$ref: rules.files.raw.anat.multiecho.entities
34+
$ref: rules.files.raw.anat.megre.entities
35+
space: optional
36+
description: optional
37+
38+
anat_mese_common:
39+
selectors:
40+
- dataset.dataset_description.DatasetType == 'derivative'
41+
$ref: rules.files.raw.anat.mese
42+
entities:
43+
$ref: rules.files.raw.anat.mese.entities
3544
space: optional
3645
description: optional
3746

src/schema/rules/files/raw/anat.yaml

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,16 +85,36 @@ defacemask:
8585
modality: optional
8686
chunk: optional
8787

88-
multiecho:
88+
megre:
8989
suffixes:
90-
- MESE
9190
- MEGRE
9291
extensions:
9392
- .nii.gz
9493
- .nii
9594
- .json
9695
datatypes:
9796
- anat
97+
entities:
98+
subject: required
99+
session: optional
100+
task: optional
101+
acquisition: optional
102+
ceagent: optional
103+
reconstruction: optional
104+
run: optional
105+
echo: required
106+
part: optional
107+
chunk: optional
108+
109+
mese:
110+
suffixes:
111+
- MESE
112+
extensions:
113+
- .nii.gz
114+
- .nii
115+
- .json
116+
datatypes:
117+
- anat
98118
entities:
99119
subject: required
100120
session: optional

0 commit comments

Comments
 (0)