Skip to content
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

Improve slightly AssertionError msg #53

Closed
wants to merge 1 commit into from

Conversation

boeddeker
Copy link
Contributor

No description provided.

@boeddeker
Copy link
Contributor Author

I got the error

Traceback (most recent call last):
...
  File ".../site-packages/kaldi_io/kaldi_io.py", line 489, in _read_compressed_mat
    assert(format == 'CM ') # The formats CM2, CM3 are not supported...
AssertionError

which only tells, that format is unequal to 'CM '. With this PR, the exception message would be slightly more informative and tell, what the value of format is.

@KarelVesely84
Copy link
Owner

Changes merged inside : #57
Thank you Christoph!
Karel.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants