Skip to content

Commit 9c4c1fb

Browse files
committed
RF: fsLR midthickness name change
1 parent c1f454e commit 9c4c1fb

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

nibabies/workflows/anatomical/base.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,7 @@ def init_infant_anat_wf(
165165
# registration sphere space is dependent on surface recon method
166166
"sphere_reg",
167167
"sphere_reg_fsLR",
168+
"midthickness_fsLR",
168169
]
169170
),
170171
name="outputnode",
@@ -528,7 +529,7 @@ def init_infant_anat_wf(
528529
("outputnode.cifti_morph", "inputnode.cifti_morph"),
529530
("outputnode.cifti_metadata", "inputnode.cifti_metadata")]),
530531
(anat_fsLR_resampling_wf, outputnode, [
531-
("outputnode.fsLR_midthickness", "fsLR_midthickness")])
532+
("outputnode.midthickness_fsLR", "midthickness_fsLR")])
532533
])
533534
# fmt:on
534535

nibabies/workflows/anatomical/resampling.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def init_anat_fsLR_resampling_wf(
5050
outputnode = pe.Node(
5151
niu.IdentityInterface(
5252
fields=[
53-
'fsLR_midthickness',
53+
'midthickness_fsLR',
5454
'cifti_morph',
5555
'cifti_metadata',
5656
]
@@ -88,7 +88,7 @@ def init_anat_fsLR_resampling_wf(
8888
)
8989

9090
joinnode = pe.JoinNode(
91-
niu.IdentityInterface(fields=['fsLR_midthickness']),
91+
niu.IdentityInterface(fields=['midthickness_fsLR']),
9292
name='joinnode',
9393
joinsource='itersource',
9494
)
@@ -116,8 +116,8 @@ def init_anat_fsLR_resampling_wf(
116116
("midthickness", "surface_in"),
117117
("sphere_reg", "current_sphere"),
118118
("template_sphere", "new_sphere")]),
119-
(downsampled_midthickness, joinnode, [("surface_out", "fsLR_midthickness")]),
120-
(joinnode, outputnode, [("surface_out", "fsLR_midthickness")]),
119+
(downsampled_midthickness, joinnode, [("surface_out", "midthickness_fsLR")]),
120+
(joinnode, outputnode, [("surface_out", "midthickness_fsLR")]),
121121
# resample morphometrics to fsLR 32k
122122
(inputnode, morph_grayords_wf, [
123123
("subject_id", "inputnode.subject_id"),

0 commit comments

Comments
 (0)