Skip to content

Conversation

@jacobtylerwalls
Copy link
Member

Instead of relying on makeRests() after the fact, which caused problems with PartStaff separation.

Fixes #991

@jacobtylerwalls
Copy link
Member Author

Need to see if these failures have to do with incomplete final measures.

@jacobtylerwalls
Copy link
Member Author

jacobtylerwalls commented May 8, 2021

Ah, right, I looked into this a long time ago. Okay, I understand this history better now.

944785d - xmlForward() creates hidden rests, like this PR
8d02d2c - added function to removeEndForwardRest to provide backward compatibility with old Finale files like BWV66.6 that close incomplete final measures with <forward> tags
3ba1949 - commented both changes out when making improvements to voices -- because voices make everything more complicated

I think we can restore it with some tweaks.

@jacobtylerwalls jacobtylerwalls force-pushed the hidden-rests-staff-separation branch from 96fbbce to ab5055a Compare May 8, 2021 13:33
@coveralls
Copy link

coveralls commented May 8, 2021

Coverage Status

Coverage increased (+0.004%) to 92.266% when pulling 885e92f on jacobtylerwalls:hidden-rests-staff-separation into 753f47f on cuthbertLab:master.

Copy link
Member

@mscuthbert mscuthbert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good -- one typing error noted. (need to eventually get mypy running as part of the Test suite)

Instead of relying on makeRests() after the fact, which caused problems with PartStaff separation
…s are involved, because a final forward rest in voice 2 shouldn't necessarily be removed.
@jacobtylerwalls jacobtylerwalls force-pushed the hidden-rests-staff-separation branch from 768489e to dea5117 Compare May 11, 2021 02:15
@jacobtylerwalls jacobtylerwalls merged commit 2372923 into cuthbertLab:master May 11, 2021
@jacobtylerwalls jacobtylerwalls deleted the hidden-rests-staff-separation branch May 11, 2021 12:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Hidden rests import into both PartStaffs

3 participants