Skip to content

Commit

Permalink
FIX: Add metadata to T2w preproc
Browse files Browse the repository at this point in the history
  • Loading branch information
mgxd committed Nov 10, 2023
1 parent 7d1447b commit b00fbd7
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions nibabies/workflows/anatomical/outputs.py
Original file line number Diff line number Diff line change
Expand Up @@ -433,6 +433,8 @@ def init_anat_derivatives_wf(
name="ds_t2w_preproc",
run_without_submitting=True,
)
ds_t2w_preproc.inputs.SkullStripped = False

if num_t1w:
ds_t2w_preproc.inputs.space = "T1w"

Expand Down Expand Up @@ -492,20 +494,16 @@ def init_anat_derivatives_wf(
)

if num_t1w:
# fmt:off
workflow.connect([
(inputnode, ds_t1w_preproc, [('t1w_preproc', 'in_file'),
('t1w_source_files', 'source_file')]),
])
# fmt:on
]) # fmt:skip

if num_t2w:
# fmt:off
workflow.connect([
(inputnode, ds_t2w_preproc, [('t2w_preproc', 'in_file'),
('t2w_source_files', 'source_file')]),
])
# fmt:on
]) # fmt:skip

# fmt:off
workflow.connect([
Expand Down

0 comments on commit b00fbd7

Please sign in to comment.