From 22c4a2e4c1c4a72f33311b46625e71f8cac11ca0 Mon Sep 17 00:00:00 2001 From: NicolasGensollen Date: Tue, 3 Dec 2024 16:28:37 +0100 Subject: [PATCH] Fix connections in pet-linear --- clinica/pipelines/pet/linear/pipeline.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/clinica/pipelines/pet/linear/pipeline.py b/clinica/pipelines/pet/linear/pipeline.py index 2013b4e1b..fc31e64e4 100644 --- a/clinica/pipelines/pet/linear/pipeline.py +++ b/clinica/pipelines/pet/linear/pipeline.py @@ -500,7 +500,12 @@ def _build_core_nodes(self): ( clipping_node, ants_applytransform_optional_node, - [("output_image", "input_image"), ("t1w", "reference_image")], + [("output_image", "input_image")], + ), + ( + self.input_node, + ants_applytransform_optional_node, + [("t1w", "reference_image")], ), ( ants_registration_node,