-
Notifications
You must be signed in to change notification settings - Fork 13
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
[Bug] Pickling and unpickling an HMM object changes the cutoff values #67
Comments
Hi @jolespin, thanks for the code to reproduce, I'm getting the same issue on my local system. What's strange is that the pickling of the cutoff is tested (I'm using |
The culprits: Lines 2528 to 2534 in c5234e5
In the last |
Fixed in |
Excellent! Thank you for handling this so quickly. I was sitting with it for a day or two trying to figure out if I was making an obvious mistake. Glad the deep dive wasn't for nothing and could help with your development. Took a look at your PR, why does the switch from t2pks and RREFam fix the pickling issue (IIRC the .h3m are one of the indexed HMM files)?
|
Ah no, the switch is for something different, I just wanted to reduce the size of the test data (mostly because I'm starting to hit the PyPI.org project size limit given that the wheels are getting big and I have 30+ wheels per release) so I used smaller HMMs. The fix is just in 7b1ffb8 😄 |
It took me a while to figure out what was happening or how to get a minimum reproducible example but I think I finally have one.
For some reason, when I'm pickling my HMMs the cutoffs change and I'm not sure exactly why or how this could happen.
Can you give it a try on your system?
I'm just using
Pfam-A.hmm.gz
from https://www.ebi.ac.uk/interpro/download/Pfam/Let me know if I can provide anymore context.
The text was updated successfully, but these errors were encountered: