Skip to content

Commit

Permalink
line spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
asmacdo committed Apr 27, 2024
1 parent d8bae4d commit 16c41b6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions dandi/cli/cmd_download.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
dandi download DANDI:000027/0.210831.2033
"""


# The use of f-strings apparently makes this not a proper docstring, and so
# click doesn't use it unless we explicitly assign it to `help`:
@click.command(
Expand Down
12 changes: 6 additions & 6 deletions dandi/dandiarchive.py
Original file line number Diff line number Diff line change
Expand Up @@ -676,14 +676,14 @@ class _dandi_url_parser:
),
]
resource_identifier_primer = """RESOURCE ID/URLS:\n
dandi commands accept URLs and URL-like identifiers called
<resource ids> in the following formats for identifying Dandisets,
assets, and asset collections.
dandi commands accept URLs and URL-like identifiers called <resource
ids> in the following formats for identifying Dandisets, assets, and
asset collections.
Text in [brackets] is optional. A server field is a base API or GUI URL
for a DANDI Archive instance. If an optional ``version`` field is omitted from
a URL, the given Dandiset's most recent published version will be used if it
has one, and its draft version will be used otherwise.
for a DANDI Archive instance. If an optional ``version`` field is
omitted from a URL, the given Dandiset's most recent published version
will be used if it has one, and its draft version will be used otherwise.
"""
known_patterns = "Accepted resource identifier patterns:" + "\n - ".join(
[""] + [display for _, _, display in known_urls]
Expand Down

0 comments on commit 16c41b6

Please sign in to comment.