Skip to content

Commit

Permalink
Set dest to galaxy_skip_client_build for skip_client_build_option
Browse files Browse the repository at this point in the history
  • Loading branch information
mvdbeek committed May 3, 2024
1 parent 15e3494 commit cbd4d9b
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion planemo/commands/cmd_serve.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,5 @@ def cli(ctx, uris, **kwds):
"""
paths = uris_to_paths(ctx, uris)
runnables = for_paths(paths)
kwds["galaxy_skip_client_build"] = kwds.pop("skip_client_build", False)
with galaxy_serve(ctx, runnables, **kwds):
pass
1 change: 0 additions & 1 deletion planemo/commands/cmd_shed_serve.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ def cli(ctx, paths, **kwds):
install these artifacts, and serve a Galaxy instances that can be
logged into and explored interactively.
"""
kwds["galaxy_skip_client_build"] = kwds.pop("skip_client_build", False)
install_args_list = kwds["install_args_list"] = shed.install_arg_lists(ctx, paths, **kwds)
runnables = install_args_list_to_runnables(ctx, install_args_list, kwds)
with engine_context(ctx, **kwds) as engine:
Expand Down
2 changes: 1 addition & 1 deletion planemo/options.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def skip_venv_option():
def skip_client_build_option():
"""Annotate click command as consume the --skip_client_build option."""
return planemo_option(
"--skip_client_build", is_flag=True, default=False, help=("Do not build Galaxy client when serving Galaxy.")
"--skip_client_build", dest="galaxy_skip_client_build", is_flag=True, default=False, help=("Do not build Galaxy client when serving Galaxy.")
)


Expand Down

0 comments on commit cbd4d9b

Please sign in to comment.