Skip to content

Commit

Permalink
MPM Workflow: added B1_map to inputnode and allowed to output the BET…
Browse files Browse the repository at this point in the history
… brain mask
  • Loading branch information
nirso authored and spinicist committed Nov 22, 2023
1 parent 135e486 commit 5af3104
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Python/qipype/workflows/mpm.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,9 @@ def init_mpm_b1_wf(me_params, mtsat_params):


def init_mpm_wf(me_params, mtsat_params):
inputnode = Node(IdentityInterface(fields=['PDw_file', 'T1w_file', 'MTw_file']),
inputnode = Node(IdentityInterface(fields=['PDw_file', 'T1w_file', 'MTw_file', 'B1_map']),
name='inputnode')
outputnode = Node(IdentityInterface(fields=['PD_map', 'R1_map', 'R2s_map', 'mtsat_map']),
outputnode = Node(IdentityInterface(fields=['PD_map', 'R1_map', 'R2s_map', 'mtsat_map', 'brain_mask']),
name='outputnode')

wf = Workflow(name='Multi-Parametric-Mapping')
Expand Down Expand Up @@ -143,5 +143,6 @@ def init_mpm_wf(me_params, mtsat_params):
(mpm, outputnode, [('R2s_map', 'R2s_map')]),
(mtsat, outputnode, [('PD_map', 'PD_map'),
('R1_map', 'R1_map'),
('delta_map', 'mtsat_map')])])
('delta_map', 'mtsat_map')]),
(bet, outputnode, [('mask_file', 'brain_mask')])])
return wf

0 comments on commit 5af3104

Please sign in to comment.