Skip to content

Commit

Permalink
Fix RuntimeWarning in CLI due to empty option groups (#1022)
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasGensollen authored Nov 29, 2023
1 parent d7f39b0 commit 40c260a
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion clinica/pipelines/machine_learning/classification_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@
type=click.Choice(T1_VOLUME_ATLASES),
help="One of the atlases generated by t1-volume or pet-volume pipeline.",
)
@cli_param.option_group.common_pipelines_options
@option.global_option_group
@option.n_procs
def cli(
Expand Down
1 change: 0 additions & 1 deletion clinica/pydra/t1_linear/t1_linear_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
@click.command(name=pipeline_name, hidden=True)
@cli_param.argument.bids_directory
@cli_param.argument.caps_directory
@cli_param.option_group.common_pipelines_options
@option.global_option_group
@option.n_procs
def cli(
Expand Down
2 changes: 1 addition & 1 deletion clinica/pydra/t1_volume/register_dartel/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
@cli_param.argument.bids_directory
@cli_param.argument.caps_directory
@cli_param.argument.group_label
@cli_param.option_group.common_pipelines_options
# @cli_param.option_group.common_pipelines_options
# @cli_param.option.subjects_sessions_tsv
# @cli_param.option.working_directory
@option.global_option_group
Expand Down

0 comments on commit 40c260a

Please sign in to comment.