-
Notifications
You must be signed in to change notification settings - Fork 18
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
Faster and more Robust Kern Import #344
Conversation
# Conflicts: # partitura/io/musescore.py # tests/test_musescore.py
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## develop #344 +/- ##
===========================================
- Coverage 84.96% 84.12% -0.85%
===========================================
Files 82 83 +1
Lines 14236 14569 +333
===========================================
+ Hits 12096 12256 +160
- Misses 2140 2313 +173 ☔ View full report in Codecov by Sentry. |
# Conflicts: # tests/test_kern.py
# Conflicts: # partitura/utils/music.py
Ideally, it would be nice to have a lot of tests for the functions to fill rests since they can be a bit tricky. But since they are not the main topic of this branch, I would open another branch with only these tests, and eventual modifications to the functions. |
Thank you for the review. I agree this is particularly important. The kern import uses only measure wise rest infilling, meaning it doesn't happen for the entire piece but only for certain measures where the number of voices changes. I noticed that there are some lines that do not have coverage right now and I will address this in the tests. For the rest infilling, I agree that a separate PR with tests and checks would be probably better and clearer. Once the current PRs are closed I will update the tests. |
Addressing PR comment: #344 (comment)
Addressed PR comment: #344 (comment)
Addressed PR comment: #344 (comment)
Faster and more Robust Kern Import
Updates
numpy.readtxt
to ensure fast parsing and correct typesetting.STATISTICS
NOT implemented yet