Hello,
I’m new to data analysis through fmriprep and am trying to get it running after validating my BIDS directory using the BIDS validator website.
when running the following command:
fmriprep /Users/glhrsqwbyz/Desktop/Projects/fMRI_Cortical_Layers/BIDS_Pilot2 /Users/glhrsqwbyz/Desktop/Projects/fMRI_Cortical_Layers/BIDS_Pilot participant --fs-license-file /Applications/freesurfer/license.txt
I receive the following error:
Process Process-2:
Traceback (most recent call last):
File "/Users/glhrsqwbyz/miniconda3/lib/python3.7/multiprocessing/process.py", line 297, in _bootstrap
self.run()
File "/Users/glhrsqwbyz/miniconda3/lib/python3.7/multiprocessing/process.py", line 99, in run
self._target(*self._args, **self._kwargs)
File "/Users/glhrsqwbyz/miniconda3/lib/python3.7/site-packages/fmriprep/cli/run.py", line 608, in build_workflow
work_dir=str(work_dir),
File "/Users/glhrsqwbyz/miniconda3/lib/python3.7/site-packages/fmriprep/workflows/base.py", line 258, in init_fmriprep_wf
use_syn=use_syn,
File "/Users/glhrsqwbyz/miniconda3/lib/python3.7/site-packages/fmriprep/workflows/base.py", line 549, in init_single_subject_wf
skull_strip_template=skull_strip_template,
File "/Users/glhrsqwbyz/miniconda3/lib/python3.7/site-packages/smriprep/workflows/anatomical.py", line 230, in init_anat_preproc_wf
normalization_quality='precise' if not debug else 'testing')
File "/Users/glhrsqwbyz/miniconda3/lib/python3.7/site-packages/niworkflows/anat/ants.py", line 180, in init_brain_extraction_wf
template_spec['suffix'] = template_spec.get('suffix', bids_suffix)
AttributeError: 'str' object has no attribute 'get'
Tried to follow the process of creating the template_spec variable, but did get any insights regarding the problem.
would love it if anyone could help.
thanks!