Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIX] Fix DWI preprocessing using T1 rename to caps node #1146

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading