Skip to content

Commit

Permalink
[FIX] Fix pet-linear with option --save_pet_in_t1w_space (#1402)
Browse files Browse the repository at this point in the history
* Fix connections in pet-linear

* Use the option in non regression test (will require updating the CI data...)
  • Loading branch information
NicolasGensollen authored Dec 4, 2024
1 parent 7436f44 commit 592ae02
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
7 changes: 6 additions & 1 deletion clinica/pipelines/pet/linear/pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
1 change: 1 addition & 0 deletions test/nonregression/pipelines/pet/test_pet_linear.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ def run_pet_linear(
parameters = {
"acq_label": Tracer.FDG,
"suvr_reference_region": SUVRReferenceRegion.PONS,
"save_PETinT1w": True,
}

pipeline = PETLinear(
Expand Down

0 comments on commit 592ae02

Please sign in to comment.