Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix bug in pooch example #58

Merged
merged 2 commits into from
Jun 3, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion docs/source/open_science/GIN-repositories.md
Original file line number Diff line number Diff line change
Expand Up @@ -295,13 +295,14 @@ Here is a simple example of how to download a dataset from a GIN repository usin
import pooch

filepath = pooch.retrieve(
url="https://gin.g-node.org/<username>/<repository>/src/main/file",
url="https://gin.g-node.org/<username>/<repository>/raw/main/file",
known_hash=None,
path="/home/<user>/downloads", # this is where the file will be saved
progressbar=True,
)
```


## Some under-the-hood details

GIN is a wrapper around [git-annex](https://git-annex.branchable.com/). The high-level idea behind git-annex is:
Expand Down