From bcc9fdb3266dc5da7bf12a966c5d374b323e80f4 Mon Sep 17 00:00:00 2001 From: hrani Date: Fri, 23 Aug 2024 16:27:00 +0530 Subject: [PATCH] Cleanup in tutotial.rst, 1 tags_rules are replace to tag_rules, 2 under rules: default : 01 instead of default: 1, pattern .*.npy instead of *.np --- docs/source/tutorial.rst | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/source/tutorial.rst b/docs/source/tutorial.rst index 7a75387..a26dbdc 100644 --- a/docs/source/tutorial.rst +++ b/docs/source/tutorial.rst @@ -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 @@ -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 @@ -217,7 +217,7 @@ similarly, let ``extension`` be *.npy*. .. code-block:: yaml - tags_rules: + tag_rules: - name: imaging value: calcium - name: extension @@ -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