You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/source/pages/documentation.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -104,7 +104,7 @@ Next, we can start setting up the project by automatically creating standardised
104
104
105
105
In a typical neuroscience experiment, a data-collection session begins by creating the folder for the current subject (e.g. mouse, rat) and current session. Once created, the data for this session is stored in the created folder.
106
106
107
-
The command `make-sub-folders` can be used automatically create folder trees that adhere to the [SWC-Blueprint](https://swc-blueprint.neuroinformatics.dev/) specification. The linked specifications contain more detail, but at it's heart this requires:
107
+
The command `make-folders` can be used automatically create folder trees that adhere to the [SWC-Blueprint](https://swc-blueprint.neuroinformatics.dev/) specification. The linked specifications contain more detail, but at it's heart this requires:
108
108
109
109
- All subjects are given a numerical (integer) number that is prefixed with the key `sub-`.
110
110
- All sessions are also given a numerical (integer) number that is prefixed with the key `ses-`.
@@ -123,7 +123,7 @@ In DataShuttle, this folder tree (excluding the .mp4 file which must be saved us
The leading `sub-` or `ses-` is optional when specifying folders to create (e.g. both `-sub 001` and `-sub sub-001` are valid inputs). It is possible to automatically create date, time or datetime key-value pairs with the days `@DATE@`, `@TIME@` or `@DATETIME@` respectively (see the [below section](#automatically-include-date-time-or-datetime
@@ -134,7 +134,7 @@ Another example call, which creates a range of subject and session folders, is s
134
134
```
135
135
datashuttle \
136
136
my_first_project \
137
-
make-sub-folders -sub 001@TO@003 -ses 010_@TIME@ -dt all
137
+
make-folders -sub 001@TO@003 -ses 010_@TIME@ -dt all
138
138
```
139
139
140
140
When the `all` argument is used for `--datatype` (`-dt`), the folders created depend on the *datatypes* specified during *configuration* setup. For example, if
@@ -210,7 +210,7 @@ SWC-Blueprint defines two main *top-level folders*, `rawdata` and `derivatives`.
210
210
└── ...
211
211
```
212
212
213
-
In DataShuttle, the current working *top level folder* is by default `rawdata`. The working *top level folder* determines where folders are created (e.g. `make_sub_folders`), and from which folder data is transferred.
213
+
In DataShuttle, the current working *top level folder* is by default `rawdata`. The working *top level folder* determines where folders are created (e.g. `make_folders`), and from which folder data is transferred.
214
214
215
215
For example, `upload` or `upload-all` will transfer data with `rawdata` from *local* to *central*, if `rawdata` is the current *top-level folder*. `upload` transfers the specified subset of folders, while `upload-all` will upload the entire *top-level folder*.
216
216
@@ -339,7 +339,7 @@ project.make_config_file(
339
339
and methods for making subject folders and transferring data accessed similarly. Note that the shortcut arguments `-sub`, `-ses`, `-dt` are not available through the Python API, and the full argument names (`sub_names`, `ses_names`, `datatype`) must be used.
340
340
341
341
```
342
-
project.make_sub_folders(
342
+
project.make_folders(
343
343
sub_names="sub-001@TO@002",
344
344
ses_names="ses-001_@DATE@",
345
345
datatype="all"
@@ -392,7 +392,7 @@ For example, the command:
392
392
```
393
393
datashuttle \
394
394
my_first_project \
395
-
make_sub_folders \
395
+
make_folders \
396
396
-sub sub_001@DATE@ \
397
397
-ses 001@TIME@ 002@DATETIME@
398
398
-dt behav
@@ -432,7 +432,7 @@ Note when making folders with the `@TO@` tag, the maximum number of leading zero
432
432
```
433
433
datashuttle \
434
434
my_first_project \
435
-
make_sub_folders \
435
+
make_folders \
436
436
-sub 0001@TO@02
437
437
```
438
438
@@ -622,10 +622,10 @@ Similarly, the command `show-configs` will print all currently set *configuratio
622
622
Detailed logs of all configuration changes, folder creation and data transfers are logged
623
623
to the `.datashuttle` folder that is created in the *local* project folder.
624
624
625
-
For each command run, a log of that command is placed in the logs folder, with the time and date of the command. The log itself contains relevant information pertaining to that command. For example, if the commands `make_sub_folders`, `upload`, `download` were run sequentially, the logs output folder would look like:
625
+
For each command run, a log of that command is placed in the logs folder, with the time and date of the command. The log itself contains relevant information pertaining to that command. For example, if the commands `make_folders`, `upload`, `download` were run sequentially, the logs output folder would look like:
0 commit comments