Skip to content

Allow direction entity in MESE files #2100

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 12 additions & 3 deletions src/schema/rules/files/deriv/preprocessed_data.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,21 @@ anat_defacemask_common:
space: optional
description: optional

anat_multiecho_common:
anat_megre_common:
selectors:
- dataset.dataset_description.DatasetType == 'derivative'
$ref: rules.files.raw.anat.multiecho
$ref: rules.files.raw.anat.megre
entities:
$ref: rules.files.raw.anat.multiecho.entities
$ref: rules.files.raw.anat.megre.entities
space: optional
description: optional

anat_mese_common:
selectors:
- dataset.dataset_description.DatasetType == 'derivative'
$ref: rules.files.raw.anat.mese
entities:
$ref: rules.files.raw.anat.mese.entities
space: optional
description: optional

Expand Down
25 changes: 23 additions & 2 deletions src/schema/rules/files/raw/anat.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,8 @@ defacemask:
modality: optional
chunk: optional

multiecho:
megre:
suffixes:
- MESE
- MEGRE
extensions:
- .nii.gz
Expand All @@ -107,6 +106,28 @@ multiecho:
part: optional
chunk: optional

mese:
suffixes:
- MESE
extensions:
- .nii.gz
- .nii
- .json
datatypes:
- anat
entities:
subject: required
session: optional
task: optional
acquisition: optional
ceagent: optional
reconstruction: optional
direction: optional
run: optional
echo: required
part: optional
chunk: optional

multiflip:
suffixes:
- VFA
Expand Down