Skip to content

Commit

Permalink
Rename invocation id and test file METAVAR
Browse files Browse the repository at this point in the history
  • Loading branch information
mvdbeek committed Dec 1, 2023
1 parent aed3fb1 commit bad395a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/best_practices_workflows.rst
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ the ``--from_invocation`` option.

::

$ planemo workflow_test_init --from_invocation <INVOCATION ID> --galaxy_url <GALAXY SERVER URL> --galaxy_user_key" <GALAXY API KEY>
$ planemo workflow_test_init --from_invocation <INVOCATION_ID> --galaxy_url <GALAXY SERVER URL> --galaxy_user_key" <GALAXY API KEY>

You also need to specify the server URL and your API key, as Galaxy invocation IDs are
only unique to a particular server. You can obtain the invocation ID from
Expand Down
2 changes: 1 addition & 1 deletion docs/commands/workflow_test_on_invocation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ This section is auto-generated from the help text for the planemo command

**Usage**::

planemo workflow_test_on_invocation [OPTIONS] TEST DEFINITION INVOCATION
planemo workflow_test_on_invocation [OPTIONS] TEST.YML INVOCATION_ID

**Help**

Expand Down
2 changes: 1 addition & 1 deletion planemo/commands/cmd_workflow_test_on_invocation.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@


@click.command("workflow_test_on_invocation")
@options.optional_tools_arg(multiple=False, allow_uris=False, metavar="TEST DEFINITION")
@options.optional_tools_arg(multiple=False, allow_uris=False, metavar="TEST.YML")
@options.required_invocation_id_arg()
@options.galaxy_url_option(required=True)
@options.galaxy_user_key_option(required=True)
Expand Down
2 changes: 1 addition & 1 deletion planemo/options.py
Original file line number Diff line number Diff line change
Expand Up @@ -757,7 +757,7 @@ def required_workflow_arg():
def required_invocation_id_arg():
return click.argument(
"invocation_id",
metavar="INVOCATION ID",
metavar="INVOCATION_ID",
type=str,
)

Expand Down

0 comments on commit bad395a

Please sign in to comment.