Skip to content

Commit

Permalink
fix dwi preprocessing using t1 rename to caps node
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasGensollen committed Apr 23, 2024
1 parent e710a95 commit d7dbe3d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions clinica/pipelines/dwi/preprocessing/t1/pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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,
),
Expand Down

0 comments on commit d7dbe3d

Please sign in to comment.