Skip to content

Commit b00fbd7

Browse files
committed
FIX: Add metadata to T2w preproc
1 parent 7d1447b commit b00fbd7

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

nibabies/workflows/anatomical/outputs.py

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -433,6 +433,8 @@ def init_anat_derivatives_wf(
433433
name="ds_t2w_preproc",
434434
run_without_submitting=True,
435435
)
436+
ds_t2w_preproc.inputs.SkullStripped = False
437+
436438
if num_t1w:
437439
ds_t2w_preproc.inputs.space = "T1w"
438440

@@ -492,20 +494,16 @@ def init_anat_derivatives_wf(
492494
)
493495

494496
if num_t1w:
495-
# fmt:off
496497
workflow.connect([
497498
(inputnode, ds_t1w_preproc, [('t1w_preproc', 'in_file'),
498499
('t1w_source_files', 'source_file')]),
499-
])
500-
# fmt:on
500+
]) # fmt:skip
501501

502502
if num_t2w:
503-
# fmt:off
504503
workflow.connect([
505504
(inputnode, ds_t2w_preproc, [('t2w_preproc', 'in_file'),
506505
('t2w_source_files', 'source_file')]),
507-
])
508-
# fmt:on
506+
]) # fmt:skip
509507

510508
# fmt:off
511509
workflow.connect([

0 commit comments

Comments
 (0)