From 39461541bd124ae8ee7a8f339fe372cefb4f346c Mon Sep 17 00:00:00 2001 From: bichomartiano Date: Tue, 24 Sep 2024 12:23:06 +0200 Subject: [PATCH] fix for double_dotted_rhythm --- musif/extract/features/rhythm/handler.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/musif/extract/features/rhythm/handler.py b/musif/extract/features/rhythm/handler.py index 40d5462f..4c96ce8e 100644 --- a/musif/extract/features/rhythm/handler.py +++ b/musif/extract/features/rhythm/handler.py @@ -139,9 +139,9 @@ def update_score_objects( ] double_dotted_rhythm.append(part_features[DOUBLE_DOTTEDRHYTHM]) - - dotted_rhythm = [i for i in dotted_rhythm if i not in (0.0, "NA")] + double_dotted_rhythm = [i for i in double_dotted_rhythm if i not in (0.0, "NA")] + features.update( { # get_score_feature(AVERAGE_DURATION): mean(average_durations),