from fmriprep.workflows.tests import mock_config
from fmriprep import config
from fmriprep.workflows.bold.base import init_bold_wf
with mock_config():
    bold_file = config.execution.bids_dir / "sub-01" / "func"                     / "sub-01_task-mixedgamblestask_run-01_bold.nii.gz"
    wf = init_bold_wf(
        bold_series=[str(bold_file)],
    )