from qsiprep.workflows.dwi.base import init_dwi_preproc_wf
wf = init_dwi_preproc_wf(dwi_only=False,
                         scan_groups={'dwi_series': ['fake.nii'],
                          'fieldmap_info': {'suffix': None},
                          'dwi_series_pedir': 'j'},
                          source_file='/data/sub-1/dwi/sub-1_dwi.nii.gz',
                          output_prefix='',
                          ignore=[],
                          b0_threshold=100,
                          motion_corr_to='iterative',
                          b0_to_t1w_transform='Rigid',
                          hmc_model='3dSHORE',
                          hmc_transform='Rigid',
                          shoreline_iters=2,
                          impute_slice_threshold=0,
                          eddy_config=None,
                          reportlets_dir='.',
                          output_spaces=['T1w'],
                          dwi_denoise_window=5,
                          denoise_method='dwidenoise',
                          unringing_method='mrdegibbs',
                          b1_biascorr_stage='final',
                          no_b0_harmonization=False,
                          denoise_before_combining=True,
                          template='MNI152NLin2009cAsym',
                          output_dir='.',
                          omp_nthreads=1,
                          fmap_bspline=False,
                          fmap_demean=True,
                          use_syn=True,
                          force_syn=False,
                          low_mem=False,
                          sloppy=True,
                          layout=None)