According to the docs, DBNBarTrackingProcessor "can be either a single number or a list with bar lengths".
Actual behaviour
If I pass a single integer, I get TypeError: 'int' object is not iterable on line 1097 of downbeats.py
If I pass [4] I get ZeroDivisionError: float division by zero on line 467 of beats_hmm.py
I can get it working by passing a second funky number like [4, 17], but this is very hacky
Expected behaviour
According to the docs, DBNBarTrackingProcessor "can be either a single number or a list with bar lengths".
Actual behaviour
If I pass a single integer, I get
TypeError: 'int' object is not iterable
on line 1097 of downbeats.py If I pass[4]
I getZeroDivisionError: float division by zero
on line 467 of beats_hmm.py I can get it working by passing a second funky number like[4, 17]
, but this is very hackyReproducing code
or
Information about installed software
I'm using version 0.17.dev0