Skip to content

Commit 5c085b1

Browse files
authored
Merge pull request #154 from kabilar/download-format
Convert inline code highlighting to code blocks
2 parents 2ff6c27 + 954524f commit 5c085b1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/12_download.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,28 +40,28 @@ If you have an issue using the Python CLI, see the [Dandi Debugging section](./1
4040
### Download a Dandiset
4141
To download an entire Dandiset, you can use the same command as suggested by DANDI web application, e.g.:
4242

43-
`dandi download DANDI:000023`
43+
dandi download DANDI:000023
4444

4545
### Download data for a specific subject from a Dandiset
4646
You can download data for specific subjects.
4747
Names of the subjects can be found on DANDI web application or by running a command with the DANDI CLI: `dandi ls -r
4848
DANDI:000023`.
4949
Once you have the subject ID, you can download the data, e.g.:
5050

51-
`dandi download https://api.dandiarchive.org/api/dandisets/000023/versions/_draft_/assets/?path=sub-811677083`
51+
dandi download https://api.dandiarchive.org/api/dandisets/000023/versions/_draft_/assets/?path=sub-811677083
5252

5353
You should replace `_draft_` with a specific version you are interested in (e.g. `0.210914.1900` in the case of this Dandiset).
5454

5555
You can also use the link from DANDI web application, e.g.:
5656

57-
`dandi download https://dandiarchive.org/dandiset/000023/0.210914.1900/files?location=sub-541516760%2F`
57+
dandi download https://dandiarchive.org/dandiset/000023/0.210914.1900/files?location=sub-541516760%2F
5858

5959

6060
### Download a specific file from a Dandiset
6161
You can download a specific file from a Dandiset when the link for the specific file can be found on the DANDI web
6262
application, e.g.:
6363

64-
`dandi download https://api.dandiarchive.org/api/dandisets/000023/versions/0.210914.1900/assets/1a93dc97-327d-4f9c-992d-c2149e7810ae/download/`
64+
dandi download https://api.dandiarchive.org/api/dandisets/000023/versions/0.210914.1900/assets/1a93dc97-327d-4f9c-992d-c2149e7810ae/download/
6565

6666

6767
**Hint:** `dandi download` supports a number of resource identifiers to point to a Dandiset, folder, or file. Providing

0 commit comments

Comments
 (0)