Skip to content

Commit

Permalink
Corrected for MCFLIRT crash. Added rels_displacement as a resource to…
Browse files Browse the repository at this point in the history
… calc_motion_parameters
  • Loading branch information
tergeorge committed Jun 26, 2023
1 parent 92cb077 commit 1de6333
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,8 @@ def motion_power_statistics(name='motion_stats',
calc_motion_parameters = pe.Node(Function(input_names=[
'movement_parameters',
'max_displacement',
'motion_correct_tool'],
'motion_correct_tool',
'rels_displacement'],
output_names=['out_file',
'info',
'maxdisp',
Expand Down Expand Up @@ -272,6 +273,8 @@ def motion_power_statistics(name='motion_stats',
calc_motion_parameters, 'movement_parameters')
wf.connect(input_node, 'max_displacement',
calc_motion_parameters, 'max_displacement')
wf.connect(input_node, 'rels_displacement',
calc_motion_parameters, 'rels_displacement')
wf.connect(calc_motion_parameters, 'out_file',
output_node, 'motion_params')
wf.connect(get_all_motion_parameters, 'all_motion_val',
Expand Down

0 comments on commit 1de6333

Please sign in to comment.