alexgorji / musicscore

13 stars 5 forks source link

TypeError('Rest cannot use method has_same_pitches.') #18

Open zhangdoa opened 1 month ago

zhangdoa commented 1 month ago

Hello!

has_same_pitches would rise a type-error, but one of its callers _chord_is_in_a_repetition doesn't check if a chord is a rest before calling it.

Best, zhangdoa