johentsch / ms3

A parser for annotated MuseScore 3 files.
https://ms3.readthedocs.io
GNU General Public License v3.0
41 stars 3 forks source link

Negative `mc_offset` positions [BUG] #92

Closed johentsch closed 1 year ago

johentsch commented 1 year ago

Describe the bug For example, https://github.com/DCMLab/rachmaninoff_piano/blob/main/measures/op42_13b.tsv#L19 has a negative value for mc_offset. That's happening in https://github.com/johentsch/ms3/blob/main/src/ms3/bs4_measures.py#L348 because the inner function expected_completion stupidly subtracts.

ms3 version Latest, v2.1.1