-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
Description
What version of the bids app were you using?
bids/brainsuite:v23a
Describe your problem in detail.
I was trying run BrainSuite for resting-state analysis, and it failed to run.
My dataset is very simple:
$ tree bids
bids
├── ChangeLog
├── dataset_description.json
├── participants.json
├── participants.tsv
├── README.md
└── sub-0151
└── ses-01
├── anat
│ ├── sub-0151_ses-01_acq-highres_T1w.json
│ └── sub-0151_ses-01_acq-highres_T1w.nii.gz
├── fmap
│ ├── sub-0151_ses-01_magnitude1.json
│ ├── sub-0151_ses-01_magnitude1.nii.gz
│ ├── sub-0151_ses-01_magnitude2.json
│ ├── sub-0151_ses-01_magnitude2.nii.gz
│ ├── sub-0151_ses-01_phasediff.json
│ └── sub-0151_ses-01_phasediff.nii.gz
└── func
├── sub-0151_ses-01_task-rest_run-01_bold.json
├── sub-0151_ses-01_task-rest_run-01_bold.nii.gz
├── sub-0151_ses-01_task-rest_run-02_bold.json
└── sub-0151_ses-01_task-rest_run-02_bold.nii.gz
6 directories, 17 filesI followed the instructions from here, with only input dataset be replaced. Then BrainSuite crashed with the following message:
Will be running the following fMRI with task-names ['rest']
No DWI images found. Therefore, not running BDP.
Running the following stages: ['CSE', 'SVREG', 'BFP', 'QC']
Traceback (most recent call last):
File "/nipype/nipype/pipeline/engine/workflows.py", line 713, in _check_nodes
this_node_lineage = node_lineage[idx]
IndexError: list index out of range
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/BrainSuite/run.py", line 509, in <module>
main()
File "/BrainSuite/run.py", line 391, in main
dwis, funcs, subject_label, args)
File "/BrainSuite/workflows/runWorkflow.py", line 126, in runWorkflow
process.runWorkflow(subjectID, t1, outputdir, BFP)
File "/BrainSuite/workflows/brainsuiteWorkflow.py", line 1371, in runWorkflow
brainsuite_workflow.connect(BFPObjs[task], BFPoutput, BFPObjs[int(task+1)], 'dataSinkDelay')
File "/nipype/nipype/pipeline/engine/workflows.py", line 178, in connect
self._check_nodes(newnodes)
File "/nipype/nipype/pipeline/engine/workflows.py", line 715, in _check_nodes
raise IOError('Duplicate node name "%s" found.' % node.name)
OSError: Duplicate node name "BFP_rest" found.
What command did you run?
docker run -it --rm \
-v $BIDS:/data:ro \
-v $BIDS/derivatives/bsapps-v23a:/out \
bids/brainsuite:v23a /data /out participant
Describe what you expected.
I would expect BrainSuite can deal with such a simple dataset with default config without any problem.