-
Notifications
You must be signed in to change notification settings - Fork 26
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
staramr fails with "KeyError: 'Predicted Phenotype'" #115
Comments
Hey @apetkau - just FYI I hit this issue as well with my docker image for staramr 0.7.1. when I tested staramr I hit a similar error to what you described above
problem resolved when I downgraded to pandas 0.25.3 inside my container I also tested the biocontainer available on quay.io (quay.io/biocontainers/staramr:0.7.1--py_1), which worked fine with no errors. That container has pandas 0.25.3 Hope this helps! and thanks for your help earlier today with the pypi package! |
Thanks for that. Yes, this is still an issue that I haven't had a chance to fix yet. |
No worries. Just wanted to make you aware in case it would help future development. It might be worth adding something to the dependencies list and/or install instructions in the README to specify the compatible |
With regards to this issue note that I have updated the bioconda packages for version |
Hi @apetkau I just got stuck with this issue and debugging the error I found this fixed for me (using pandas 1.0.5):
It seems pandas 1.0.5 sometimes didn't like df['key'] instead df.get('key'). Best regards, |
That's awesome. Thanks so much @javiertognarelli 😄. We can incorporate this fix in and release an update (or you can submit a pull request with fixed code if you want). |
I'm glad you like it. I'm still new with github and using staramr from conda so I guess it'd be better you do it. |
@javiertognarelli sounds great. Thanks so much 😄 |
Fixed in #126 |
Hello, I have the same problem with Galaxy.org (Galaxy Version 0.5.1) and Galaxy.eu (Galaxy Version 0.7.2+galaxy0) with staramr ("KeyError: 'Predicted Phenotype") |
When running
staramr
on any genome, I get the following error:This looks to be due to an issue with recent
pandas
library versions. Downgrading this to0.25.3
works (e.g., withconda install pandas==0.25.3
).The staramr code should likely be updated to support more recent
pandas
versions.The text was updated successfully, but these errors were encountered: