We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e6760fc commit b9b122fCopy full SHA for b9b122f
nipype/workflows/dmri/preprocess/epi.py
@@ -387,6 +387,7 @@ def ecc_pipeline(name='eddy_correct'):
387
thres = pe.MapNode(fsl.Threshold(thresh=0.0), iterfield=['in_file'],
388
name='RemoveNegative')
389
390
+ split = pe.Node(fsl.Split(dimension='t'), name='SplitDWIs')
391
get_mat = pe.Node(niu.Function(input_names=['in_bval', 'in_xfms'],
392
output_names=['out_files'], function=recompose_xfm),
393
name='GatherMatrices')
@@ -413,7 +414,8 @@ def ecc_pipeline(name='eddy_correct'):
413
414
,(flirt, get_mat, [('outputnode.out_xfms', 'in_xfms')])
415
,(flirt, mult, [(('outputnode.out_xfms',_xfm_jacobian),
416
'operand_value')])
- ,(flirt, mult, [('outputnode.out_file', 'in_file')])
417
+ ,(flirt, split, [('outputnode.out_file', 'in_file')])
418
+ ,(split, mult, [('out_files', 'in_file')])
419
,(mult, thres, [('out_file', 'in_file')])
420
,(thres, merge, [('out_file', 'in_corrected')])
421
,(get_mat, outputnode, [('out_files', 'out_xfms')])
0 commit comments