Skip to content

Commit

Permalink
Change pet linear cli according to new options
Browse files Browse the repository at this point in the history
  • Loading branch information
ravih18 committed Nov 13, 2024
1 parent 5ad0732 commit 97db324
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions clinica/pipelines/pet/linear/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@
is_flag=True,
help="Do not crop the image with template (cropped image are suggested for using with DL models)",
)
@cli_param.option.option(
"-rb",
"--remove_background",
is_flag=True,
help="Remove the background according to a dilated binary MNI mask",
)
@cli_param.option.option(
"--save_pet_in_t1w_space",
is_flag=True,
Expand All @@ -41,6 +47,7 @@ def cli(
suvr_reference_region: str,
reconstruction_method: Optional[str] = None,
uncropped_image: bool = False,
remove_background: bool = False,
save_pet_in_t1w_space: bool = False,
random_seed: Optional[int] = None,
subjects_sessions_tsv: Optional[str] = None,
Expand Down Expand Up @@ -70,6 +77,7 @@ def cli(
"suvr_reference_region": suvr_reference_region,
"reconstruction_method": reconstruction_method,
"uncropped_image": uncropped_image,
"remove_background": remove_background,
"save_PETinT1w": save_pet_in_t1w_space,
"random_seed": random_seed,
}
Expand Down

0 comments on commit 97db324

Please sign in to comment.