Skip to content

Commit cb6e31a

Browse files
committed
Doc and option improvements.
- Fix link in Conda docs. - Allow --biocontainers as an option to lint and test in lieu of (--biocontainer and --mulled_container respectively).
1 parent 37e9548 commit cb6e31a

4 files changed

Lines changed: 7 additions & 3 deletions

File tree

docs/_writing_dependencies_conda.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ all the software and all the versions available matching that search term - incl
248248

249249
Alternatively the Anaconda_ website can be used to search for packages. Typing ``seqtk``
250250
into the search form on that page and clicking the top result will bring on to `this page
251-
https://anaconda.org/bioconda/seqtk`__ with information about the Bioconda package.
251+
<https://anaconda.org/bioconda/seqtk>`__ with information about the Bioconda package.
252252

253253
When using the website to search though, you need to aware of what channel you are using. By
254254
default, Planemo and Galaxy will search a few different Conda channels. While it is possible

docs/_writing_dependencies_docker.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ tool from the introductory tutorial.
4747

4848
::
4949

50-
$ planemo lint --biocontainer seqtk_xml
50+
$ planemo lint --biocontainers seqtk_seq.xml
5151
Linting tool /home/planemo/workspace/planemo/project_templates/seqtk_complete/seqtk_seq.xml
5252
Applying linter tests... CHECK
5353
.. CHECK: 1 test(s) found.
@@ -83,7 +83,7 @@ Docker container using the flag ``--mulled_containers`` as shown (in part) next.
8383

8484
::
8585

86-
$ planemo test --mulled_containers seqtk_seq.xml
86+
$ planemo test --biocontainers seqtk_seq.xml
8787
...
8888
2017-03-01 08:18:19,669 INFO [galaxy.tools.actions] Handled output named output1 for tool seqtk_seq (22.145 ms)
8989
2017-03-01 08:18:19,683 INFO [galaxy.tools.actions] Added output datasets to history (14.604 ms)

planemo/commands/cmd_lint.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@
3434
help="Check tool requirements for availability in best practice Conda channels.",
3535
)
3636
@click.option(
37+
"biocontainer",
3738
"--biocontainer",
39+
"--biocontainers",
3840
is_flag=True,
3941
default=False,
4042
help="Check best practice BioContainer namespaces for a container definition applicable for this tool.",

planemo/options.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,9 @@ def job_config_option():
343343

344344
def mulled_containers_option():
345345
return planemo_option(
346+
"mulled_containers",
346347
"--mulled_containers",
348+
"--biocontainers",
347349
is_flag=True,
348350
help="Test tools against mulled containers (forces --docker).",
349351
)

0 commit comments

Comments
 (0)