Skip to content

Commit

Permalink
minifix on rhythm feature
Browse files Browse the repository at this point in the history
  • Loading branch information
martianbug committed Sep 18, 2024
1 parent f235488 commit b503f16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion musif/extract/features/rhythm/handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
}
)

Expand Down

0 comments on commit b503f16

Please sign in to comment.