Skip to content

Commit 153d59c

Browse files
committed
ENH: Add t2star map to t2star workflow outputs
1 parent 4032c67 commit 153d59c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

nibabies/workflows/bold/t2s.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def init_bold_t2s_wf(echo_times, mem_gb, omp_nthreads, name="bold_t2s_wf"):
7272

7373
inputnode = pe.Node(niu.IdentityInterface(fields=["bold_file", "bold_mask"]), name="inputnode")
7474

75-
outputnode = pe.Node(niu.IdentityInterface(fields=["bold"]), name="outputnode")
75+
outputnode = pe.Node(niu.IdentityInterface(fields=["bold", "t2star_map"]), name="outputnode")
7676

7777
LOGGER.log(25, "Generating T2* map and optimally combined ME-EPI time series.")
7878

@@ -82,7 +82,8 @@ def init_bold_t2s_wf(echo_times, mem_gb, omp_nthreads, name="bold_t2s_wf"):
8282
workflow.connect([
8383
(inputnode, t2smap_node, [('bold_file', 'in_files'),
8484
('bold_mask', 'mask_file')]),
85-
(t2smap_node, outputnode, [('optimal_comb', 'bold')]),
85+
(t2smap_node, outputnode, [('optimal_comb', 'bold'),
86+
('t2star_map', 't2star_map')]),
8687
])
8788
# fmt: on
8889

0 commit comments

Comments
 (0)