From 7d5449664c4b1a0c3a18df9714966d220b49c6c2 Mon Sep 17 00:00:00 2001 From: bpinsard Date: Thu, 2 Nov 2023 15:45:01 -0400 Subject: [PATCH 1/2] add missing fsLR reg sphere to io_spec --- smriprep/data/io_spec.json | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/smriprep/data/io_spec.json b/smriprep/data/io_spec.json index a0f17a17d5..1185a54db7 100644 --- a/smriprep/data/io_spec.json +++ b/smriprep/data/io_spec.json @@ -83,13 +83,21 @@ "desc": "ribbon", "suffix": "mask", "extension": "nii.gz" + }, + "sphere_reg_fsLR": { + "datatype" : "anat", + "hemi": ["L", "R"], + "space": "fsLR", + "desc": "reg", + "suffix": "sphere", + "extension": "surf.gii" } } }, "patterns": [ "sub-{subject}[/ses-{session}]/{datatype|anat}/sub-{subject}[_ses-{session}][_acq-{acquisition}][_ce-{ceagent}][_rec-{reconstruction}][_space-{space}][_desc-{desc}]_{suffix}.{extension|nii.gz}", "sub-{subject}[/ses-{session}]/{datatype|anat}/sub-{subject}[_ses-{session}][_acq-{acquisition}][_ce-{ceagent}][_rec-{reconstruction}]_from-{from}_to-{to}_mode-{mode|image}_{suffix|xfm}.{extension}", - "sub-{subject}[/ses-{session}]/{datatype|anat}/sub-{subject}[_ses-{session}][_acq-{acquisition}][_ce-{ceagent}][_rec-{reconstruction}]_hemi-{hemi}_{suffix}.{extension}", + "sub-{subject}[/ses-{session}]/{datatype|anat}/sub-{subject}[_ses-{session}][_acq-{acquisition}][_ce-{ceagent}][_rec-{reconstruction}]_hemi-{hemi}[_space-{space}][_desc-{desc}]_{suffix}.{extension}", "sub-{subject}[/ses-{session}]/{datatype|anat}/sub-{subject}[_ses-{session}][_acq-{acquisition}][_ce-{ceagent}][_rec-{reconstruction}][_space-{space}]_desc-{desc}_{suffix|mask}.{extension|nii.gz}", "sub-{subject}[/ses-{session}]/{datatype|anat}/sub-{subject}[_ses-{session}][_acq-{acquisition}][_ce-{ceagent}][_rec-{reconstruction}][_space-{space}]_label-{label}[_desc-{desc}]_{suffix|probseg}.{extension|nii.gz}" ] From 7a20c4be20f537cf47a6163a8d8093091667406c Mon Sep 17 00:00:00 2001 From: bpinsard Date: Thu, 2 Nov 2023 16:29:45 -0400 Subject: [PATCH 2/2] update tests --- smriprep/utils/bids.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smriprep/utils/bids.py b/smriprep/utils/bids.py index 9f3d6c9293..99cfd8ef53 100644 --- a/smriprep/utils/bids.py +++ b/smriprep/utils/bids.py @@ -40,7 +40,7 @@ def get_outputnode_spec(): 'anat2std_xfm', 'std2anat_xfm', 't1w_aseg', 't1w_aparc', 't1w2fsnative_xfm', 'fsnative2t1w_xfm', - 'surfaces', 'morphometrics', 'anat_ribbon'] + 'surfaces', 'morphometrics', 'anat_ribbon', 'sphere_reg_fsLR'] """ spec = loads(Path(pkgrf("smriprep", "data/io_spec.json")).read_text())["queries"]