from petprep.workflows.tests import mock_config
from petprep import config
from petprep.workflows.pet.fit import init_pet_native_wf
with mock_config():
    pet_file = config.execution.bids_dir / "sub-01" / "pet" \
        / "sub-01_task-mixedgamblestask_run-01_pet.nii.gz"
    wf = init_pet_native_wf(pet_series=[str(pet_file)])