diff --git a/umbra/mistake_counter.py b/umbra/mistake_counter.py index 30441c339fb0b4e299126838196991ca8e4963bf..a7adfd3ac93a57ca0113b4ef1cbade341ee84d7e 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 93dc8eadbe0459a488e2652ee273bc94a02682a7..cde6ad91d9c1aae6332794e7678785d769d4e190 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: