Skip to content

Commit

Permalink
ENH: Add MRS entities, path patterns
Browse files Browse the repository at this point in the history
  • Loading branch information
effigies committed Jul 24, 2024
1 parent d442c8b commit a490c76
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion bids/layout/config/bids.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,14 @@
"name": "acquisition",
"pattern": "[_/\\\\]+acq-([a-zA-Z0-9]+)"
},
{
"name": "nucleus",
"pattern": "[_/\\\\]+nuc-([a-zA-Z0-9]+)"
},
{
"name": "volume",
"pattern": "[_/\\\\]+voi-([a-zA-Z0-9]+)"
},
{
"name": "ceagent",
"pattern": "[_/\\\\]+ce-([a-zA-Z0-9]+)"
Expand Down Expand Up @@ -107,7 +115,7 @@
},
{
"name": "datatype",
"pattern": "[/\\\\]+(anat|beh|dwi|eeg|fmap|func|ieeg|meg|motion|micr|nirs|perf|pet)[/\\\\]+"
"pattern": "[/\\\\]+(anat|beh|dwi|eeg|fmap|func|ieeg|meg|micr|motion|mrs|nirs|perf|pet)[/\\\\]+"
},
{
"name": "extension",
Expand All @@ -131,6 +139,7 @@
"sub-{subject}[/ses-{session}]/{datatype<meg>|meg}/sub-{subject}[_ses-{session}][_acq-{acquisition}]_{suffix<headshape>}{extension<.pos>|.pos}",
"sub-{subject}[/ses-{session}]/{datatype<meg>|meg}/sub-{subject}[_ses-{session}]_acq-{acquisition<calibration|crosstalk>}_{suffix<meg>|meg}{extension<.fif|.dat>}",
"sub-{subject}[/ses-{session}]/{datatype<motion>|motion}/sub-{subject}[_ses-{session}]_task-{task}_tracksys-{tracksys}[_acq-{acquisition}][_run-{run}]_{suffix<motion|channels>|motion}{extension<.tsv|.json>|.tsv}",
"sub-{subject}[/ses-{session}]/{datatype<mrs>|mrs}/sub-{subject}[_ses-{session}][_task-{task}][_acq-{acquisition}][_nuc-{nucleus}][_voi-{volume}][_rec-{reconstruction}][_run-{run}][_echo-{echo}][_inv-{inv}]_{suffix<svs|mrsi|unloc|mrsref>}{extension<.nii|.nii.gz|.json>|.nii.gz}",
"sub-{subject}[/ses-{session}]/{datatype<eeg>|eeg}/sub-{subject}[_ses-{session}]_task-{task}[_acq-{acquisition}][_run-{run}]_{suffix<eeg>}{extension<.edf|.vhdr|.vmrk|.eeg|.set|.fdt|.bdf|.json>}",
"sub-{subject}[/ses-{session}]/{datatype<nirs>|nirs}/sub-{subject}[_ses-{session}]_task-{task}[_acq-{acquisition}][_run-{run}]_{suffix<nirs>}{extension<.snirf|.json>}",
"sub-{subject}[/ses-{session}]/{datatype<nirs>|nirs}/sub-{subject}[_ses-{session}]_task-{task}[_acq-{acquisition}][_run-{run}]_{suffix<events|channels>}{extension<.tsv|.json>}",
Expand Down Expand Up @@ -170,6 +179,7 @@
"task-{task}[_acq-{acquisition}][_run-{run}]_{suffix<nirs>}{extension<.json>}",
"task-{task}[_acq-{acquisition}][_ce-{ceagent}][_dir-{direction}][_rec-{reconstruction}][_run-{run}][_echo-{echo}]_{suffix<bold|cbv|phase|sbref>}{extension<.json>|.json}",
"task-{task}_tracksys-{tracksys}[acq-{acquisition}_][run-{run}_]{suffix<motion>}{extension<.tsv|.json>}",
"[task-{task}_][acq-{acquisition}_][nuc-{nucleus}_][voi-{volume}_][rec-{reconstruction}_][run-{run}_][echo-{echo}_][inv-{inv}_]{suffix<svs|mrsi|unloc|mrsref>}{extension<.json>|.json}",
"[acq-{acquisition}_][rec-{reconstruction}_][dir-{direction}_][run-{run}_][part-{part}_][chunk-<index>_]{suffix<dwi>}{extension<.bval|.bvec|.json>|.json}",
"[acq-{acquisition}_][rec-{reconstruction}_][dir-{direction}_][run-{run}_][part-{part}_][chunk-<index>_]{suffix<sbref>}{extension<.json>|.json}",
"[acq-{acquisition}_][dir-{direction}_][run-{run}_]{suffix<phasediff|magnitude[1-2]|phase[1-2]|fieldmap>}{extension<.json>|.json}",
Expand Down

0 comments on commit a490c76

Please sign in to comment.