From cdaab8cf152ceb453456046b0ccb7173b6578808 Mon Sep 17 00:00:00 2001 From: Taylor Salo Date: Sat, 31 Aug 2024 11:41:42 -0400 Subject: [PATCH] Update base.py --- src/fmripost_aroma/workflows/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fmripost_aroma/workflows/base.py b/src/fmripost_aroma/workflows/base.py index 0cd4492..c92e8f0 100644 --- a/src/fmripost_aroma/workflows/base.py +++ b/src/fmripost_aroma/workflows/base.py @@ -404,7 +404,7 @@ def init_single_run_wf(bold_file): name='resample_stc_wf', ) # TODO: Grab skip-vols from confounds file - bold_stc_wf.inputs.inputnode.skip_vols = config.workflow.dummy_scans or 0 + bold_stc_wf.inputs.inputnode.skip_vols = skip_vols workflow.connect([ (validate_bold, bold_stc_wf, [('out_file', 'inputnode.bold_file')]), (bold_stc_wf, stc_buffer, [('outputnode.stc_file', 'bold_file')]),