Skip to content
Open
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
10 changes: 5 additions & 5 deletions docs/source/tutorial.rst
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ as a tag retrieval rule:

.. code-block:: yaml

tags_rules:
tag_rules:
- name: day
pattern: "(?i)day([0-9]+)_"
length: 2
Expand All @@ -206,7 +206,7 @@ it with *G*. Putting these together as a rule:

.. code-block:: yaml

tags_rules:
tag_rules:
- name: mice
pattern: "_G?([0-9]+)_"
prepend: G
Expand All @@ -217,7 +217,7 @@ similarly, let ``extension`` be *.npy*.

.. code-block:: yaml

tags_rules:
tag_rules:
- name: imaging
value: calcium
- name: extension
Expand All @@ -229,13 +229,13 @@ Putting these together, we get our organization rules config:

source: "/path/to/unorganized/data"
destination: "/path/to/store/organized/data"
pattern: "*.npy"
pattern: ".*.npy"
tags_rules:
- name: day
pattern: "(?i)day([0-9]+)_"
length: 2
iffy_prefix: 0
default: 1
default: 01
- name: mice
pattern: "_G?([0-9]+)_"
prepend: G
Expand Down