Skip to content

Commit bc5b1af

Browse files
committed
fix: subject id lacking prefix
1 parent bf32995 commit bc5b1af

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

dmriprep/config/reports-spec.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,15 +53,15 @@ sections:
5353
caption: Diffusion-weighted data and anatomical data (EPI-space and T1w-space)
5454
were aligned with <code>mri_coreg</code> (FreeSurfer).
5555
WARNING - <code>bbregister</code> refinement rejected.
56-
descriptions: Note that nearest-neighbor interpolation is used in this reportlet
56+
description: Note that nearest-neighbor interpolation is used in this reportlet
5757
in order to highlight potential slice Inhomogeneities and other artifacts, whereas
5858
the final images are resampled using cubic B-Spline interpolation.
5959
static: false
6060
subtitle: Alignment of functional and anatomical MRI data (volume based)
6161
- bids: {datatype: figures, desc: bbregister, suffix: dwi}
6262
caption: Diffusion-weighted data and anatomical data (EPI-space and T1w-space)
6363
were aligned with <code>bbregister</code> (FreeSurfer).
64-
descriptions: Note that nearest-neighbor interpolation is used in this reportlet
64+
description: Note that nearest-neighbor interpolation is used in this reportlet
6565
in order to highlight potential slice Inhomogeneities and other artifacts, whereas
6666
the final images are resampled using cubic B-Spline interpolation.
6767
static: false

dmriprep/workflows/base.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,10 +391,11 @@ def _bold_reg_suffix(fallback):
391391
(t1w_brain, bbr_wf, [("out_file", "inputnode.t1w_brain")]),
392392
(anat_preproc_wf, bbr_wf, [("outputnode.t1w_dseg", "inputnode.t1w_dseg")]),
393393
(fsinputnode, bbr_wf, [("subjects_dir", "inputnode.subjects_dir")]),
394-
(bids_info, bbr_wf, [("subject", "inputnode.subject_id")]),
394+
(bids_info, bbr_wf, [(("subject", _prefix), "inputnode.subject_id")]),
395395
(anat_preproc_wf, bbr_wf, [
396396
("outputnode.fsnative2t1w_xfm", "inputnode.fsnative2t1w_xfm")
397397
]),
398+
(split_info, ds_report_reg, [("dwi_file", "source_file")]),
398399
(bbr_wf, ds_report_reg, [
399400
('outputnode.out_report', 'in_file'),
400401
(('outputnode.fallback', _bold_reg_suffix), 'desc')]),

0 commit comments

Comments
 (0)