Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Module bold_std_trans_wf has no output called poutputnode.bold_aseg_std #1641

Closed
shaohanyu2017 opened this issue May 17, 2019 · 2 comments · Fixed by #1643
Closed

Module bold_std_trans_wf has no output called poutputnode.bold_aseg_std #1641

shaohanyu2017 opened this issue May 17, 2019 · 2 comments · Fixed by #1643
Labels

Comments

@shaohanyu2017
Copy link

Dear fmriprep experts,
When I am trying to run the latest version fmriprep (1.4.0) with the --output-space fsnative, I received the following error. How I can solve the issue? With many thanks!

Exception: Some connections were not found
Module bold_std_trans_wf has no output called poutputnode.bold_aseg_std

Module bold_std_trans_wf has no output called poutputnode.bold_aparc_std

Module bold_std_trans_wf has no output called outputnode.bold_aseg_std

Module bold_std_trans_wf has no output called outputnode.bold_aparc_std

@lukassnoek
Copy link

lukassnoek commented May 17, 2019

I had the same error, which I think is caused by the init_bold_std_trans_wf function:

freesurfer = [k for k in standard_spaces.keys()
                  if k.startswith('fs') and k != 'fsLR']

which later adds the bold_aseg/aparc_std nodes based on this freesurfer variable:

if freesurfer:
        output_names += ['bold_aseg_std', 'bold_aparc_std']

It turns out that standard_spaces only includes spaces that are not part of the "non-standard references":

NONSTANDARD_REFERENCES = ['anat', 'T1w', 'run', 'func', 'sbref', 'fsnative']

So, when you don't add some kind of "fsaverage*" output to your --output-spaces argument, fmriprep will crash. So, to circumvent this issue, I added fsaverage to my --output-spaces. Ideally, however, I'd like to get the aseg/aparc segmentations/parcellations also without specifying any freesurfer-based output space (e.g., only T1w).

Would this be possible?

@oesteban oesteban added the bug label May 19, 2019
@oesteban
Copy link
Member

So, when you don't add some kind of "fsaverage*" output to your --output-spaces argument, fmriprep will crash. So, to circumvent this issue, I added fsaverage to my --output-spaces. Ideally, however, I'd like to get the aseg/aparc segmentations/parcellations also without specifying any freesurfer-based output space (e.g., only T1w).

Would this be possible?

Sure, what you are describing is very related to #1631. Please feel free to reopen that issue and elaborate there on how you would like to see this implemented.

For now, I'll address this error independently of such conversation to avoid crashing for this reason.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants