Skip to content

Commit

Permalink
Update clinica/pipelines/pet/linear/pipeline.py
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasGensollen authored Oct 24, 2024
1 parent 12eb8c9 commit 80938d5
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions clinica/pipelines/pet/linear/pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,10 +107,7 @@ def _build_input_node(self):

# Inputs from t1-linear pipeline
# T1w images registered
if self.parameters["uncropped_image"]:
t1w_linear_file_pattern = T1W_LINEAR
else:
t1w_linear_file_pattern = T1W_LINEAR_CROPPED
t1w_linear_file_pattern = T1W_LINEAR if self.parameters.get("uncropped_image", False) else T1W_LINEAR_CROPPED
t1w_linear_files, t1w_linear_errors = clinica_file_reader(
self.subjects, self.sessions, self.caps_directory, t1w_linear_file_pattern
)
Expand Down

0 comments on commit 80938d5

Please sign in to comment.