Skip to content

Commit

Permalink
FIX: Use msmsulc registration
Browse files Browse the repository at this point in the history
  • Loading branch information
effigies committed Nov 16, 2023
1 parent be5ba8f commit d2bb045
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions fmriprep/workflows/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@ def init_single_subject_wf(subject_id: str):
)

spaces = config.workflow.spaces
msm_sulc = config.workflow.run_msmsulc

Check warning on line 228 in fmriprep/workflows/base.py

View check run for this annotation

Codecov / codecov/patch

fmriprep/workflows/base.py#L228

Added line #L228 was not covered by tests

anatomical_cache = {}
if config.execution.derivatives:
Expand Down Expand Up @@ -300,7 +301,7 @@ def init_single_subject_wf(subject_id: str):
freesurfer=config.workflow.run_reconall,
hires=config.workflow.hires,
longitudinal=config.workflow.longitudinal,
msm_sulc=config.workflow.run_msmsulc,
msm_sulc=msm_sulc,
t1w=subject_data['t1w'],
t2w=subject_data['t2w'],
skull_strip_mode=config.workflow.skull_strip_t1w,
Expand Down Expand Up @@ -554,8 +555,11 @@ def init_single_subject_wf(subject_id: str):
('outputnode.pial', 'inputnode.pial'),
('outputnode.midthickness', 'inputnode.midthickness'),
('outputnode.thickness', 'inputnode.thickness'),
('outputnode.sphere_reg_fsLR', 'inputnode.sphere_reg_fsLR'),
('outputnode.anat_ribbon', 'inputnode.anat_ribbon'),
(
f'outputnode.sphere_reg_{"msm" if msm_sulc else "fsLR"}',
'inputnode.sphere_reg_fsLR',
),
]),
]) # fmt:skip
if fieldmap_id:
Expand Down

0 comments on commit d2bb045

Please sign in to comment.