Skip to content

Commit

Permalink
Fix NIfTI-surface connection (#1284)
Browse files Browse the repository at this point in the history
  • Loading branch information
tsalo authored Oct 8, 2024
1 parent 63641d0 commit c26499b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion xcp_d/workflows/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,9 @@ def init_single_subject_wf(subject_id: str):
]),
]) # fmt:skip

if config.workflow.process_surfaces or (config.workflow.abcc_qc and mesh_available):
if (config.workflow.file_format == "cifti") and (
config.workflow.process_surfaces or (config.workflow.abcc_qc and mesh_available)
):
workflow.connect([
(postprocess_surfaces_wf, postprocess_bold_wf, [
("outputnode.lh_midthickness", "inputnode.lh_midthickness"),
Expand Down

0 comments on commit c26499b

Please sign in to comment.