-
Notifications
You must be signed in to change notification settings - Fork 405
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lowercase some RomanNumeral figures created with integers #1481
Lowercase some RomanNumeral figures created with integers #1481
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great to me, good approach.
music21/roman.py
Outdated
'''https://github.com/cuthbertLab/music21/issues/1450''' | ||
minorKeyObj = key.Key("c") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
trying to standardize docstrings as always like:
'''
adfahdfkladf
'''
even if a one-liner.
The linter should be catching the double quote "c" -- not sure why not here.
Thanks, Myke. Feel free to unpin |
adds doc for RN from int, following #1481
Closes #1450
Previously, RomanNumerals created with integer figures were always uppercase, even when
caseMatters
was True.Now, certain figures are lowercased according to the mode.
cc/ @MarkGotham would you be willing to review?
I didn't use structural pattern matching per this comment:
music21/music21/midi/translate.py
Lines 1281 to 1283 in d77f405