You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Actually, the error you get was raised in the code that was preparing a nicer exception message, but it had a bug and raised a TypeError instead. I fixed that and changed HMMFile.read and HMMPressedFile.read to raise AlphabetMismatch in that case, either because the file contains HMMs in multiple alphabets, or because the alphabet given to create the HMMFile is inconsistent with the alphabets of the HMMs in the file.
Assuming we have a hmm file containing profiles with different alphabets, and we run the following code:
Download and unzip
amino_dna.hmm.zip
Open python, adjust the path to the file and run
The following will raise a
TypeError
with an uninformative message.It would be nice if instead, the message said something like: "Found profiles with different alphabets."
The text was updated successfully, but these errors were encountered: