-
Notifications
You must be signed in to change notification settings - Fork 23
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
Manuscript fixes #125
base: develop
Are you sure you want to change the base?
Manuscript fixes #125
Conversation
…on and writing failed
Previously, this was only the case for self-closing elements
@ahankinson Added the same commit as in the sibmei repo. Overall this pull request is to bring libmei back in sync with the version shipping with ManuScript. |
tools/langs/manuscript.py
Outdated
element._id = value; | ||
SetId "(element, newId) { | ||
UnregisterId(element._id); | ||
element._id = value; |
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.
Same problem here as in the sibmei repo -- I think value
is supposed to be newId
?
tools/langs/manuscript.py
Outdated
}" | ||
UnregisterId "(id) { | ||
olddict = Self._property:MEIFlattened; | ||
newdict = removeKeyFromDictionary(olddict, oldid); |
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.
And here isn't oldid
supposed to be the value passed in, id
?
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.
That's right. I made sure I unloaded/reloaded the proper files in Sibelius and ran the tests successfully.
A replacement for #119 with better organized commits.