Skip to content

Commit 0a5f2a7

Browse files
committed
FIX: Query SUBJECTS_DIR only after MCRIBS processing
1 parent c9231f2 commit 0a5f2a7

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

nibabies/workflows/anatomical/surfaces.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -145,9 +145,8 @@ def init_mcribs_surface_recon_wf(
145145
(aparc2nii, outputnode, [('out_file', 'out_aparc')]),
146146
(norm2nii, fsnative2t1w_xfm, [('out_file', 'source_file')]),
147147
(fsnative2t1w_xfm, t1w2fsnative_xfm, [('out_reg_file', 'in_lta')]),
148-
(inputnode, gifti_surface_wf, [
149-
("subjects_dir", "inputnode.subjects_dir"),
150-
("subject_id", "inputnode.subject_id")]),
148+
(inputnode, gifti_surface_wf, [("subject_id", "inputnode.subject_id")]),
149+
(mcribs_recon, gifti_surface_wf, [("subjects_dir", "inputnode.subjects_dir")]),
151150
(fsnative2t1w_xfm, gifti_surface_wf, [
152151
('out_reg_file', 'inputnode.fsnative2t1w_xfm')]),
153152
(fsnative2t1w_xfm, outputnode, [('out_reg_file', 'fsnative2t1w_xfm')]),

0 commit comments

Comments
 (0)