You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Until recently, I was throwing strings into Chord.get indiscriminately and checking the tonic and quality to determine whether it was valid, since it returns NoChord when it can't be parsed.
However, it seems to throw an exception when certain non-chord strings are passed in, e.g. |\n (space, pipe, newline).
The text was updated successfully, but these errors were encountered:
Until recently, I was throwing strings into
Chord.get
indiscriminately and checking thetonic
andquality
to determine whether it was valid, since it returns NoChord when it can't be parsed.However, it seems to throw an exception when certain non-chord strings are passed in, e.g.
|\n
(space, pipe, newline).The text was updated successfully, but these errors were encountered: