From 670877b2009cb477851443297df733f65e9fd4ec Mon Sep 17 00:00:00 2001
From: Romeo <r.haak@student.ru.nl>
Date: Mon, 16 Dec 2019 20:04:34 +0100
Subject: [PATCH] Fixed two tiny bugs

---
 umbra/mistake_counter.py | 1 +
 umbra/utils.py           | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/umbra/mistake_counter.py b/umbra/mistake_counter.py
index 30441c33..a7adfd3a 100644
--- a/umbra/mistake_counter.py
+++ b/umbra/mistake_counter.py
@@ -76,6 +76,7 @@ class MistakeCounter:
                  '#mistakes': mistakes,
                  '#phonetic': phonetic,
                  '#repetition': repetition,
+                 '#form': form,
                  '#semantic': semantic,
                  '#skipped': skipped,
                  '#random': random})
diff --git a/umbra/utils.py b/umbra/utils.py
index 93dc8ead..cde6ad91 100644
--- a/umbra/utils.py
+++ b/umbra/utils.py
@@ -67,7 +67,7 @@ class Utils:
             participant: the participant number
             task: the task for the participant
         """
-        match = re.search(r"(\d+)_(\D+){video}+\.T", path)
+        match = re.search(f"(\d+)_(\D+){video}+\.T", path)
         task = None
         participant = None
         if match:
-- 
GitLab