Skip to content

Commit b9b122f

Browse files
committed
fix missing node
1 parent e6760fc commit b9b122f

File tree

1 file changed

+3
-1
lines changed
  • nipype/workflows/dmri/preprocess

1 file changed

+3
-1
lines changed

nipype/workflows/dmri/preprocess/epi.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,6 +387,7 @@ def ecc_pipeline(name='eddy_correct'):
387387
thres = pe.MapNode(fsl.Threshold(thresh=0.0), iterfield=['in_file'],
388388
name='RemoveNegative')
389389

390+
split = pe.Node(fsl.Split(dimension='t'), name='SplitDWIs')
390391
get_mat = pe.Node(niu.Function(input_names=['in_bval', 'in_xfms'],
391392
output_names=['out_files'], function=recompose_xfm),
392393
name='GatherMatrices')
@@ -413,7 +414,8 @@ def ecc_pipeline(name='eddy_correct'):
413414
,(flirt, get_mat, [('outputnode.out_xfms', 'in_xfms')])
414415
,(flirt, mult, [(('outputnode.out_xfms',_xfm_jacobian),
415416
'operand_value')])
416-
,(flirt, mult, [('outputnode.out_file', 'in_file')])
417+
,(flirt, split, [('outputnode.out_file', 'in_file')])
418+
,(split, mult, [('out_files', 'in_file')])
417419
,(mult, thres, [('out_file', 'in_file')])
418420
,(thres, merge, [('out_file', 'in_corrected')])
419421
,(get_mat, outputnode, [('out_files', 'out_xfms')])

0 commit comments

Comments
 (0)