Build Fix
ci / checks (push) Failing after 1h6m51s

This commit is contained in:
khodowany
2026-09-18 21:05:38 -05:00
parent 4955405199
commit 7a74ebf04d
11 changed files with 54 additions and 18 deletions
+2
View File
@@ -49,6 +49,8 @@ def degrees(harmony: dict) -> dict[int, int]:
else:
raise ValueError(f'unsupported degree operation: {operation}')
if kind != 'none' and not result:
if kind == 'other':
raise ValueError("harmony kind 'other' requires explicit added degrees; use a standard <kind> or add <degree> elements; display text alone does not define pitches")
raise ValueError('harmony contains no pitch information')
return result