Basically I am trying to run niworkflows.func.util.init_boldref_wf but its giving me an error
TraitError: Each element of the 'transform_parameters' trait of a _FixHeaderRegistrationInputSpec instance must be a tuple of the form: (a float) or a tuple of the form: (a float, a float, a float) or a tuple of the form: (a float, an integer, an integer, an integer) or a tuple of the form: (a float, an integer, a float, a float, a float, a float) or a tuple of the form: (a float, a float, a float, an integer) or a tuple of the form: (a float, an integer, an integer, an integer, an integer), but a value of [0.1] <class 'list'> was specified.
Here is my code
nifti = nib.load('/mnt/d/HCP/102109/MNINonLinear/Results/rfMRI_REST1_LR/rfMRI_REST1_LR.nii.gz')
sbref = nib.load('/mnt/d/HCP/102109/MNINonLinear/Results/rfMRI_REST1_LR/rfMRI_REST1_LR_SBRef.nii.gz')
bold_ref_wf = init_bold_reference_wf(omp_nthreads=3,
bold_file=nifti_str,
sbref_files=[sbref_str],
brainmask_thresh=0.85,
pre_mask=False,
multiecho=False,
name='bold_reference_wf',
gen_report=False)
bold_ref_wf.run()
May I please get some guidance on this?