From 38565570510202690ebce8430e5bf870bf0982a7 Mon Sep 17 00:00:00 2001 From: Gensollen Date: Tue, 23 Apr 2024 17:50:37 +0200 Subject: [PATCH] [FIX] Fix DWI preprocessing using T1 rename to caps node (#1146) --- clinica/pipelines/dwi/preprocessing/t1/pipeline.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/clinica/pipelines/dwi/preprocessing/t1/pipeline.py b/clinica/pipelines/dwi/preprocessing/t1/pipeline.py index a0a9beb93..d5b10bff5 100644 --- a/clinica/pipelines/dwi/preprocessing/t1/pipeline.py +++ b/clinica/pipelines/dwi/preprocessing/t1/pipeline.py @@ -157,7 +157,6 @@ def _build_output_node(self): name="container_path", ) files_to_write_in_caps = [ - "dwi_filename", "dwi_preproc_filename", "b_values_preproc_filename", "b_vectors_preproc_filename", @@ -166,7 +165,7 @@ def _build_output_node(self): rename_into_caps = npe.Node( nutil.Function( - input_names=files_to_write_in_caps, + input_names=["dwi_filename"] + files_to_write_in_caps, output_names=[f"{x}_caps" for x in files_to_write_in_caps], function=rename_into_caps_task, ),