Skip to content

Commit

Permalink
add the option to provide a history id to run the workflow in
Browse files Browse the repository at this point in the history
  • Loading branch information
Delphine-L committed Jun 28, 2024
1 parent 9ab4982 commit 4cf0e82
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/commands/run.rst
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,8 @@ Planemo command for running tools and jobs.
--galaxy_user_key TEXT User key to use with external Galaxy engine.
--history_name TEXT Name to give a Galaxy history, if one is
created.
--history_id TEXT Do not create a new history. Send the results
of the run in the history with the provided ID.
--no_wait After invoking a job or workflow, do not wait
for completion.
--paste_test_data_paths / --no_paste_test_data_paths
Expand Down
8 changes: 8 additions & 0 deletions planemo/options.py
Original file line number Diff line number Diff line change
Expand Up @@ -523,6 +523,13 @@ def history_name():
help="Name to give a Galaxy history, if one is created.",
)

def history_id():
return planemo_option(
"--history_id",
type=str,
help="Do not create a new history. Send the results of the run in the history with the provided ID.",
)


def no_cache_galaxy_option():
return planemo_option(
Expand Down Expand Up @@ -1495,6 +1502,7 @@ def engine_options():
galaxy_admin_key_option(),
galaxy_user_key_option(),
history_name(),
history_id(),
no_wait_option(),
)

Expand Down

0 comments on commit 4cf0e82

Please sign in to comment.