Skip to content
Closed
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@
]
linkcheck_ignore = [
"https://gin.g-node.org/", # GIN is often slow/unreachable and times out
"https://gin.swc.ucl.ac.uk/",
"https://www.cambridgeneurotech.com", # rejects link checker requests (HTTP 415)
"https://opensource.org",
"https://www.incf.org/recommendations-gsoc-contributors",
Expand Down
4 changes: 2 additions & 2 deletions docs/source/howto/open_science/Data-sharing.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ There are [many repositories](repo-table) that will accept the types of data gen
Use the existing [SWC section of the UCL FigShare instance](https://rdr.ucl.ac.uk/The_Sainsbury_Wellcome_Centre). This is easy to use, and is supported centrally by UCL

**For larger datasets:**
Create a GIN repository, ideally within the [SWC organisation](https://gin.g-node.org/SainsburyWellcomeCentre). GIN uses Git and provides a versioning system, making it particularly well suited for ongoing research projects.
Create a GIN repository, ideally within the [SWC organisation](https://gin.swc.ucl.ac.uk/SainsburyWellcomeCentre). GIN uses Git and provides a versioning system, making it particularly well suited for ongoing research projects.

**Specific modalities:**
In some cases, there may be a modality or field-specific repository that would be best suited for the data (or mandated by the publisher), some examples include:
Expand All @@ -61,7 +61,7 @@ If you have any technical questions about sharing data or code, please contact a
| figshare | https://rdr.ucl.ac.uk/The_Sainsbury_Wellcome_Centre | Anything |
| Zenodo | https://zenodo.org/ | Anything |
| Dryad | https://datadryad.org | Anything |
| GIN (German Neuroinformatics Node) | https://gin.g-node.org/ | Neuroscience |
| GIN (SWC) | https://gin.swc.ucl.ac.uk/ | Neuroscience |
| EBRAINS | https://ebrains.eu/service/share-data | Neuroscience |
| Open Source Brain | https://www.v2.opensourcebrain.org/ | Any neuroscience data (data must be hosted elsewhere) |
| Brain Image Library | http://www.brainimagelibrary.org/ | Large brain image datasets |
Expand Down
14 changes: 7 additions & 7 deletions docs/source/howto/open_science/GIN-repositories.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
(target-create-gin-repo)=
# Create a GIN repository for your dataset

[GIN](https://gin.g-node.org/G-Node/Info/wiki) (hosted by the German Neuroinformatics Node) is a free and open data management system designed for neuroscientific data.
[GIN](https://gin.swc.ucl.ac.uk/) (hosted by the Sainsbury Wellcome Centre) is a free and open data management system designed for neuroscientific data.

It is web-accessible, based on [`git`](https://git-scm.com/) and [`git-annex`](https://git-annex.branchable.com/), and allows you to keep your data in sync, backed up and easily accessible.

Expand All @@ -12,10 +12,10 @@ Below we explain the main user workflows in GIN.

We need to do these steps only the first time we use GIN's command-line interface (CLI) on our machine.

1. Create [a GIN account](https://gin.g-node.org/user/sign_up).
1. Create [a GIN account](https://gin.swc.ucl.ac.uk/user/sign_up).
2. [Download GIN CLI](https://gin.g-node.org/G-Node/Info/wiki/GIN+CLI+Setup#setup-gin-client) and set it up by running:
```
$ gin login
$ gin login --server https://gin.swc.ucl.ac.uk
```
You will be prompted for your GIN username and password.
3. Confirm that everything is working properly by typing:
Expand All @@ -32,7 +32,7 @@ To create a local and a remote GIN repository, follow these steps:
Before running any `gin` commands, make sure you are logged in to your account by running:

```
$ gin login
$ gin login --server https://gin.swc.ucl.ac.uk
```

:::{tip}
Expand All @@ -54,7 +54,7 @@ In Unix-like systems (Ubuntu, MacOS), you may need `sudo` permissions for some o

<details><summary> <b> OR alternatively: </b> </summary>

Create a repository in the GIN server [from the browser](https://gin.g-node.org/repo/create), and clone (retrieve) it to your local workspace:
Create a repository in the GIN server [from the browser](https://gin.swc.ucl.ac.uk/repo/create), and clone (retrieve) it to your local workspace:

```
$ gin get <username>/<remote-repository-name>
Expand Down Expand Up @@ -295,7 +295,7 @@ 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>/raw/main/<file>",
url="https://gin.swc.ucl.ac.uk/<username>/<repository>/raw/main/<file>",
known_hash=None,
path="/home/<user>/downloads", # this is where the file will be saved
progressbar=True,
Expand All @@ -305,7 +305,7 @@ filepath = pooch.retrieve(
:::{tip}
A common mistake is to use the URL of the GIN repository's webpage instead of the URL of the raw file.

The URL of the raw file will have `/raw/` in its path. For example, the URL of the raw file `image.png` in the repository `my-repo` under the user `my-user` should be `https://gin.g-node.org/my-user/my-repo/raw/main/image.png`.
The URL of the raw file will have `/raw/` in its path. For example, the URL of the raw file `image.png` in the repository `my-repo` under the user `my-user` should be `https://gin.swc.ucl.ac.uk/my-user/my-repo/raw/main/image.png`.

The easiest way to get the raw URL of a file is to:
1. Navigate to the specific file in the GIN repository,
Expand Down
Loading