From b503f16c37d8e5aecadb13c77560ecc5a67f4029 Mon Sep 17 00:00:00 2001 From: bichomartiano Date: Wed, 18 Sep 2024 13:18:48 +0200 Subject: [PATCH] minifix on rhythm feature --- musif/extract/features/rhythm/handler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/musif/extract/features/rhythm/handler.py b/musif/extract/features/rhythm/handler.py index 4abe08ca..40d5462f 100644 --- a/musif/extract/features/rhythm/handler.py +++ b/musif/extract/features/rhythm/handler.py @@ -97,7 +97,7 @@ def update_part_objects( DOTTEDRHYTHM: (rhythm_dot / total_sounding_beats) if total_sounding_beats else "NA", - DOUBLE_DOTTEDRHYTHM: (rhythm_double_dot / total_beats), + DOUBLE_DOTTEDRHYTHM: (rhythm_double_dot / total_beats) if total_beats else 'NA', } )