Skip to content
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

Do not render incomplete beams #196

Merged
merged 1 commit into from
Jan 4, 2024
Merged

Do not render incomplete beams #196

merged 1 commit into from
Jan 4, 2024

Conversation

jaredjj3
Copy link
Collaborator

@jaredjj3 jaredjj3 commented Jan 4, 2024

This PR fixes the issue called out in #78 (comment).

Before this PR, vexflow.Beam objects would try to be created with less than 2 stemmable notes, during the measurement phase or due to invalid MusicXML documents. This would cause a vexflow error to be thrown.

After this PR, we will simply check the stemmable notes length and ignore underspecified beams.

@jaredjj3 jaredjj3 self-assigned this Jan 4, 2024
@jaredjj3 jaredjj3 merged commit 6b7b236 into master Jan 4, 2024
1 check passed
@jaredjj3 jaredjj3 deleted the beam branch January 4, 2024 21:41
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.

1 participant