Skip to content

Duplicate node name error  #48

@LenaDorfschmidt

Description

@LenaDorfschmidt

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingquestionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions