Skip to content

Commit

Permalink
Merge pull request #228 from adswa/dhub-ex
Browse files Browse the repository at this point in the history
DOC: Add example URLs to parameter docstring
  • Loading branch information
yarikoptic authored Oct 9, 2023
2 parents fda4591 + 4e760e1 commit beabc88
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions datalad_container/containers_add.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,10 @@ class ContainersAdd(Interface):
url=Parameter(
args=("-u", "--url"),
doc="""A URL (or local path) to get the container image from. If
the URL scheme is one recognized by Singularity ('shub://' or
'docker://'), a command format string for Singularity-based
execution will be auto-configured when
the URL scheme is one recognized by Singularity (e.g.,
'shub://neurodebian/dcm2niix:latest' or
'docker://debian:stable-slim'), a command format string for
Singularity-based execution will be auto-configured when
[CMD: --call-fmt CMD][PY: call_fmt PY] is not specified.
For Docker-based container execution with the URL scheme 'dhub://',
the rest of the URL will be interpreted as the argument to
Expand Down

0 comments on commit beabc88

Please sign in to comment.