Browse Source

Frissítés "README.md"

Richárd Fiáth 3 years ago
parent
commit
1a8626ce3e
1 changed files with 43 additions and 4 deletions
  1. 43 4
      README.md

+ 43 - 4
README.md

@@ -6,12 +6,51 @@ Here, we present an electrophysiological dataset recorded from the neocortex of
 
 ## Downloading the dataset
 
-Recordings can be downloaded individually through the web interface. Or from the commandline:
+Recordings can be downloaded individually through the web interface or using the [GIN Client](https://gin.g-node.org/G-Node/Info/wiki/GIN+CLI+Setup#quickstart).
 
-wget https://gin.g-node.org
+Using the GIN Client, the dataset can be downloaded the following way:
+
+1. A local repository needs to be initialized in the current directory using the following command:
+
+```
+gin init
+```
+2. Then, the remote repository located on GIN needs to be added:
+
+```
+gin add-remote RemoteRepo gin:UlbertLab/High_Resolution_Cortical_Spikes
+```
+3. After that, the user needs to download the contents of the repository:
+
+```
+gin dowload
+```
+
+4. The previous command will download the small files and the file structure of the repository. Large files will be included as pointer files but the data will not be included. To get the content of the big files you need to download them individually the following way:
+
+```
+gin get-content filePath/fileName
+```
+
+Examples:
+a.) Downloading a single file:
+
+```
+gin get-content allSingleUnits.nwb
+gin get-content Rat01/Insertion1/Depth1/Rat01_Insertion1_Depth1.nwb
+```
+b.) Downloading all files located in a directory:
+```
+gin get-content Rat01
+```
+
+c.) Or you may download the contents of all files by using the command with no arguments:
+
+```
+gin get-content
+
+```
 
-Alternatively, you may clone the repository to your local machine, which will also include the dataset:
-git clone https://gin.g-node.org/
 
 For more ways of accessing the data, please refer to GIN's [FAQ](https://gin.g-node.org/G-Node/Info/wiki/FAQ+Troubleshooting#how-can-i-access-the-data).