Switching warning checking method, also minor clean-ups
Merge branch 'master' of https://github.com/craffel/mir_eval