Skip to content

Commit

Permalink
[FIX] connections on multi-anat workflow (#572)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattcieslak committed May 17, 2023
1 parent 796ebba commit 92c706c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions qsiprep/workflows/anatomical/volume.py
Expand Up @@ -660,11 +660,11 @@ def _get_first(in_list):

workflow.connect([
(anat_conform, n4_correct, [('out_file', 'input_image')]),
(n4_correct, anat_merge_wf, [('output_image', 'b0_images')]),
(n4_correct, anat_merge_wf, [('output_image', 'inputnode.b0_images')]),
(anat_merge_wf, outputnode, [
('final_template', 'template'),
('final_template', 'bias_corrected'),
('forward_transforms', 'template_transforms')])])
('outputnode.final_template', 'template'),
('outputnode.final_template', 'bias_corrected'),
('outputnode.forward_transforms', 'template_transforms')])])

return workflow

Expand Down

0 comments on commit 92c706c

Please sign in to comment.