ELVIS-Project / vis-framework

Thoroughly modern symbolic musical data analysis suite.
http://elvisproject.ca/
31 stars 6 forks source link

New_ngram indexer crashes when user asks for voice combinations that are out of range. #398

Closed alexandermorgan closed 7 years ago

alexandermorgan commented 8 years ago

If the user asks for vertical slices of the intervals between voices 0,1 and 0,2 but there are only two voices, the program throws an error. This mismatch should be checked for in the init method and a warning should be raised instead.

musicus commented 8 years ago

A warning would be great.

alexandermorgan commented 7 years ago

This is addressed on alex_devel as of commit 3002fde7719dafa8fec365c81325d94415234dde.