Skip to content

Commit

Permalink
FIX: Validate and summarize multi-volume sbrefs
Browse files Browse the repository at this point in the history
  • Loading branch information
effigies committed Jul 9, 2024
1 parent ff1b199 commit 0beceec
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion fmriprep/workflows/bold/fit.py
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,14 @@ def init_bold_fit_wf(
config.loggers.workflow.info('Stage 3: Adding coregistration boldref workflow')

# Select initial boldref, enhance contrast, and generate mask
fmapref_buffer.inputs.sbref_files = sbref_files
if sbref_files:
raw_sbref_wf = init_raw_boldref_wf(
name='raw_sbref_wf',
bold_file=sbref_files,
multiecho=len(sbref_files) > 1,
)
workflow.connect(raw_sbref_wf, 'outputnode.boldref', fmapref_buffer, 'sbref_files')

enhance_boldref_wf = init_enhance_and_skullstrip_bold_wf(omp_nthreads=omp_nthreads)

ds_coreg_boldref_wf = init_ds_boldref_wf(
Expand Down

0 comments on commit 0beceec

Please sign in to comment.