diff --git a/bids/layout/config/bids-nodot.json b/bids/layout/config/bids-nodot.json index fd299f064..35ecd1b4d 100644 --- a/bids/layout/config/bids-nodot.json +++ b/bids/layout/config/bids-nodot.json @@ -49,6 +49,22 @@ "name": "echo", "pattern": "[_/\\\\]+echo-([0-9]+)" }, + { + "name": "flip", + "pattern": "[_/\\\\]+flip-([0-9]+)" + }, + { + "name": "inv", + "pattern": "[_/\\\\]+inv-([0-9]+)" + }, + { + "name": "mt", + "pattern": "[_/\\\\]+mt-(on|off)" + }, + { + "name": "part", + "pattern": "[_/\\\\]+part-(imag|mag|phase|real)" + }, { "name": "recording", "pattern": "[_/\\\\]+recording-([a-zA-Z0-9]+)" diff --git a/bids/layout/config/bids.json b/bids/layout/config/bids.json index 091c55b0a..b6b80cfd7 100644 --- a/bids/layout/config/bids.json +++ b/bids/layout/config/bids.json @@ -49,6 +49,22 @@ "name": "echo", "pattern": "[_/\\\\]+echo-([0-9]+)" }, + { + "name": "flip", + "pattern": "[_/\\\\]+flip-([0-9]+)" + }, + { + "name": "inv", + "pattern": "[_/\\\\]+inv-([0-9]+)" + }, + { + "name": "mt", + "pattern": "[_/\\\\]+mt-(on|off)" + }, + { + "name": "part", + "pattern": "[_/\\\\]+part-(imag|mag|phase|real)" + }, { "name": "recording", "pattern": "[_/\\\\]+recording-([a-zA-Z0-9]+)" @@ -80,10 +96,11 @@ ], "default_path_patterns": [ - "sub-{subject}[/ses-{session}]/{datatype|anat}/sub-{subject}[_ses-{session}][_acq-{acquisition}][_ce-{ceagent}][_rec-{reconstruction}]_{suffix}{extension<.nii|.nii.gz|.json>|.nii.gz}", + "sub-{subject}[/ses-{session}]/{datatype|anat}/sub-{subject}[_ses-{session}][_acq-{acquisition}][_ce-{ceagent}][_rec-{reconstruction}][_part-{part}]_{suffix}{extension<.nii|.nii.gz|.json>|.nii.gz}", "sub-{subject}[/ses-{session}]/{datatype|anat}/sub-{subject}[_ses-{session}][_acq-{acquisition}][_ce-{ceagent}][_rec-{reconstruction}][_mod-{modality}]_{suffix}{extension<.nii|.nii.gz|.json>|.nii.gz}", - "sub-{subject}[/ses-{session}]/{datatype|func}/sub-{subject}[_ses-{session}]_task-{task}[_acq-{acquisition}][_ce-{ceagent}][_dir-{direction}][_rec-{reconstruction}][_run-{run}][_echo-{echo}]_{suffix}{extension<.nii|.nii.gz|.json>|.nii.gz}", - "sub-{subject}[/ses-{session}]/{datatype|dwi}/sub-{subject}[_ses-{session}][_acq-{acquisition}]_{suffix}{extension<.bval|.bvec|.json|.nii.gz|.nii>|.nii.gz}", + "sub-{subject}[/ses-{session}]/{datatype|func}/sub-{subject}[_ses-{session}]_task-{task}[_acq-{acquisition}][_ce-{ceagent}][_dir-{direction}][_rec-{reconstruction}][_run-{run}][_echo-{echo}][_part-{part}]_{suffix}{extension<.nii|.nii.gz|.json>|.nii.gz}", + "sub-{subject}[/ses-{session}]/{datatype|func}/sub-{subject}[_ses-{session}]_task-{task}[_acq-{acquisition}][_ce-{ceagent}][_dir-{direction}][_rec-{reconstruction}][_run-{run}][_echo-{echo}]_{suffix}{extension<.nii|.nii.gz|.json>|.nii.gz}", + "sub-{subject}[/ses-{session}]/{datatype|dwi}/sub-{subject}[_ses-{session}][_acq-{acquisition}][_part-{part}]_{suffix}{extension<.bval|.bvec|.json|.nii.gz|.nii>|.nii.gz}", "sub-{subject}[/ses-{session}]/{datatype|fmap}/sub-{subject}[_ses-{session}][_acq-{acquisition}][_dir-{direction}][_run-{run}]_{fmap}{extension<.nii|.nii.gz|.json>|.nii.gz}", "sub-{subject}[/ses-{session}]/{datatype|fmap}/sub-{subject}[_ses-{session}][_acq-{acquisition}][_ce-{ceagent}]_dir-{direction}[_run-{run}]_{fmap}{extension<.nii|.nii.gz|.json>|.nii.gz}", "sub-{subject}[/ses-{session}]/[{datatype|func}/]sub-{subject}[_ses-{session}]_task-{task}[_acq-{acquisition}][_rec-{reconstruction}][_run-{run}][_echo-{echo}][_recording-{recording}]_{suffix}{extension<.tsv|.json>|.tsv}",