diff --git a/clinica/pipelines/pet/linear/pipeline.py b/clinica/pipelines/pet/linear/pipeline.py index 84931a29c..648624c19 100644 --- a/clinica/pipelines/pet/linear/pipeline.py +++ b/clinica/pipelines/pet/linear/pipeline.py @@ -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 )