Skip to content

Commit

Permalink
Add in fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
tsalo committed Oct 8, 2024
1 parent 47eb4ed commit d6de992
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 d6de992

Please sign in to comment.