Skip to content

Commit a97f99f

Browse files
committed
FIX: Explicitly set extension, revert fsnative to grab infantfs file
1 parent 18b6dbb commit a97f99f

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

nibabies/workflows/anatomical/outputs.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,11 @@ def init_anat_derivatives_wf(
375375

376376
ds_anat_ribbon = pe.Node(
377377
DerivativesDataSink(
378-
base_directory=output_dir, desc="ribbon", suffix="mask", compress=True
378+
base_directory=output_dir,
379+
desc="ribbon",
380+
suffix="mask",
381+
extension=".nii.gz",
382+
compress=True,
379383
),
380384
name="ds_anat_ribbon",
381385
run_without_submitting=True,

nibabies/workflows/bold/resampling.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,8 @@ def select_target(subject_id, space):
195195
("source_file", "src_file"),
196196
("t1w2fsnative_xfm", "in_file"),
197197
]),
198-
(get_fsnative, itk2lta, [("T1", "dst_file")]),
198+
# TODO: Dynamically adjust based on MCRIBS/InfantFS/FS
199+
(get_fsnative, itk2lta, [('brain', 'dst_file')]), # InfantFS: Use brain instead of T1
199200
(inputnode, sampler, [
200201
("subjects_dir", "subjects_dir"),
201202
("subject_id", "subject_id"),

0 commit comments

Comments
 (0)