Skip to content

Commit

Permalink
Update concatenation.py
Browse files Browse the repository at this point in the history
  • Loading branch information
tsalo committed Oct 11, 2023
1 parent 7880f8a commit 9d4287e
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions xcp_d/workflows/concatenation.py
Original file line number Diff line number Diff line change
Expand Up @@ -514,6 +514,15 @@ def init_concatenate_data_wf(
# fmt:on

if dcan_qc:
# fmt:off
workflow.connect([
(clean_name_source, ds_interpolated_filtered_bold, [("name_source", "source_file")]),
(concatenate_inputs, ds_interpolated_filtered_bold, [
("interpolated_filtered_bold", "in_file"),
]),
])
# fmt:on

interpolated_filtered_bold_sources = pe.Node(
InferBIDSURIs(
numinputs=1,
Expand All @@ -535,13 +544,4 @@ def init_concatenate_data_wf(
])
# fmt:on

# fmt:off
workflow.connect([
(clean_name_source, ds_interpolated_filtered_bold, [("name_source", "source_file")]),
(filter_out_failed_runs, ds_interpolated_filtered_bold, [
("interpolated_filtered_bold", "in_file"),
]),
])
# fmt:on

return workflow

0 comments on commit 9d4287e

Please sign in to comment.