- 
                Notifications
    You must be signed in to change notification settings 
- Fork 7
Open
Labels
bugSomething isn't workingSomething isn't workingquestionFurther information is requestedFurther information is requested
Description
Hi,
I have been trying to preprocess a sample rat from a longitudinal multi-echo fMRI study (4 time points) using the rodent fMRIPrep docker. The pipeline does start running, but and optimally combines the the echoes for the first timepoint, but then fails on the second timepoint raising the error of a "duplicate node name "epi_reference_wf" ".
    Running fMRIPREP version 0.0.2+43.ga6409ca.dirty:
      * BIDS dataset path: /data.
      * Participant list: ['JWD14'].
      * Run identifier: 20220901-204740_f554503d-2e60-4c6b-9f5f-a3d2279e5583.
      * Output spaces: Fischer344:res-native.
220901-20:48:20,629 nipype.workflow INFO:
	 No single-band-reference found for sub-JWD14_ses-PND20_task-rest_echo-1_bold.nii.
220901-20:48:20,791 nipype.workflow IMPORTANT:
	 Generating T2* map and optimally combined ME-EPI time series.
220901-20:48:21,190 nipype.workflow INFO:
	 No single-band-reference found for sub-JWD14_ses-PND200_task-rest_echo-1_bold.nii.
220901-20:48:21,309 nipype.workflow IMPORTANT:
	 Generating T2* map and optimally combined ME-EPI time series.
Process Process-2:
Traceback (most recent call last):
  File "/opt/conda/lib/python3.8/multiprocessing/process.py", line 315, in _bootstrap
    self.run()
  File "/opt/conda/lib/python3.8/multiprocessing/process.py", line 108, in run
    self._target(*self._args, **self._kwargs)
  File "/opt/conda/lib/python3.8/site-packages/fprodents/cli/workflow.py", line 81, in build_workflow
    retval["workflow"] = init_fmriprep_wf()
  File "/opt/conda/lib/python3.8/site-packages/fprodents/workflows/base.py", line 50, in init_fmriprep_wf
    single_subject_wf = init_single_subject_wf(subject_id)
  File "/opt/conda/lib/python3.8/site-packages/fprodents/workflows/base.py", line 321, in init_single_subject_wf
    workflow.connect([
  File "/opt/conda/lib/python3.8/site-packages/nipype/pipeline/engine/workflows.py", line 158, in connect
    self._check_nodes(newnodes)
  File "/opt/conda/lib/python3.8/site-packages/nipype/pipeline/engine/workflows.py", line 766, in _check_nodes
    raise IOError('Duplicate node name "%s" found.' % node.name)
OSError: Duplicate node name "epi_reference_wf" found.
In order to understand what is going on, I have:
- removed timepoints (I.e. included only timepoint 2,3,4): this revealed that apparently, there is nothing wrong with any specific timepoint, but rather the pipeline can process the first timepoint (whichever that may be) and then fails with the same error on the second one.
- run the same command as above on the fMRIPrep (not fMRIPrep-rodent) docker. The pipeline appears to run without issues when using the 'original' fMRIPrep docker.
My question is: Do I have to change the way I am running this when using the rodent docker? How do I avoid the error I am receiving?
Thank you very much,
Lena
Hyedryn
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingquestionFurther information is requestedFurther information is requested