Skip to content

OSError: Duplicate node name "func_preproc_rest_wf" found #82

@kathy-snider

Description

@kathy-snider

Describe the bug
A clear and concise description of what the bug is.
Am a newbie to nibabies (and to nipreps in general). Just trying to get all of the right arguments to process a subject.
Got an OSError from the pipeline. Stack trace is below.

To Reproduce
What specific command did you run?
sudo /opt/acc/sbin/exadocker run --rm -v /mnt/scratch/fnl_lab/680fef771afe429b/BIDS_unprocessed/:/bids_input:ro -v /mnt/scratch/fnl_lab/680fef771afe429b/BIDS_processed/:/output -v /mnt/scratch/fnl_lab/680fef771afe429b/Templates/:/templates -v /mnt/scratch/fnl_lab/680fef771afe429b/license.txt:/opt/freesurfer/license.txt mgxd/nibabies:0.1.0 /bids_input /output participant --participant-label 06IND001B001 --age-months 12 --segmentation-atlases-dir /templates/JLF_templates --skip-bids-validation --nprocs=10 --use-syn-sdc

What version of nibabies did you run? 0.1.0

Expected behavior
A clear and concise description of what you expected to happen.
Expected nibabies to run and to process the subject specfied.

Screenshots
Is it a visual data problem?
If applicable, add screenshots to help explain your problem. N/A.

Additional context
Add any other context about the problem here.
This was run using Docker on a slurm node. From the slurm log:
...

  • sudo /opt/acc/sbin/exadocker run --rm -v /mnt/scratch/fnl_lab/680fef771afe429b/BIDS_unprocessed/:/bids_input:ro -v /mnt/scratch/fnl_lab/680fef771afe429b/BIDS_processed/:/output -v /mnt/scratch/fnl_lab/680fef771afe429b/Templates/:/templates -v /mnt/scratch/fnl_lab/680fef771afe429b/license.txt:/opt/freesurfer/license.txt mgxd/nibabies:0.1.0 /bids_input /output participant --participant-label 06IND001B001 --age-months 12 --segmentation-atlases-dir /templates/JLF_templates --skip-bids-validation --nprocs=10 --use-syn-sdc
    Process Process-2:
    Traceback (most recent call last):
    File "/usr/local/miniconda/lib/python3.7/multiprocessing/process.py", line 297, in _bootstrap
    self.run()
    File "/usr/local/miniconda/lib/python3.7/multiprocessing/process.py", line 99, in run
    self._target(*self._args, **self._kwargs)
    File "/src/nibabies/nibabies/cli/workflow.py", line 82, in build_workflow
    retval["workflow"] = init_nibabies_wf()
    File "/src/nibabies/nibabies/workflows/base.py", line 68, in init_nibabies_wf
    single_subject_wf = init_single_subject_wf(subject_id)
    File "/src/nibabies/nibabies/workflows/base.py", line 462, in init_single_subject_wf
    ('outputnode.fsnative2anat_xfm', 'inputnode.fsnative2anat_xfm'),
    File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/engine/workflows.py", line 158, in connect
    self._check_nodes(newnodes)
    File "/usr/local/miniconda/lib/python3.7/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 "func_preproc_rest_wf" found.
    ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions