Skip to content

Commit

Permalink
Merge pull request #1184 from simonbray/docs-fix
Browse files Browse the repository at this point in the history
Fix documentation to include `--download_outputs` flag
  • Loading branch information
simonbray authored Aug 9, 2021
2 parents bacca17 + 407f96b commit 7ae0dc6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions docs/_running_external.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ If you want to set the name of the history in which the workflow executes, add
``--history_name NAME`` to the command. You should be able to see the workflow
executing in the web browser, if you navigate to the 'List all histories' view.
If you prefer to download data without interacting with the web interface at all,
you can add ``--output_directory`` and ``--output_json`` to the command as
before.
you can add ``--download_outputs --output_directory . --output_json output.json``
to the command as before.

Typing ``--engine external_galaxy --galaxy_url SERVER_URL --galaxy_user_key YOUR_API_KEY``
each time you want to execute a workflow is a bit annoying. Fortunately, Planemo
Expand Down
10 changes: 5 additions & 5 deletions docs/_running_intro.rst
Original file line number Diff line number Diff line change
Expand Up @@ -48,16 +48,16 @@ achieved with the command

::

$ planemo run tutorial.ga tutorial-job.yml --output_directory . --output_json output.json
$ planemo run tutorial.ga tutorial-job.yml --download_outputs --output_directory . --output_json output.json


You can optionally (and probably should) add the ``--galaxy_root`` flag with
the location of a local copy of the Galaxy source code, which will allow the
instance to be spun up considerably faster.

Note that the ``--output_directory`` and ``--output_json`` flags are optional,
but allow saving the output to a local file. The contents should be something
like:
Note that ``--download_outputs --output_directory . --output_json output.json``
is optional, but allow saving the output to a local file. The contents should
be something like:

::

Expand All @@ -76,7 +76,7 @@ significantly longer to complete than the previous command.

::

$ planemo run tutorial.ga tutorial-job.yml --output_directory . --output_json output.json --engine docker_galaxy --ignore_dependency_problems
$ planemo run tutorial.ga tutorial-job.yml --download_outputs --output_directory . --output_json output.json --engine docker_galaxy --ignore_dependency_problems


This introduces the concept of an engine, which Planemo provides to allow
Expand Down

0 comments on commit 7ae0dc6

Please sign in to comment.