-
Notifications
You must be signed in to change notification settings - Fork 107
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
ValueError: invalid mode: 'rU' when running emapper.py with the --md5 option #432
Comments
Hi @samuelruizperez , Thank you for reporting this. |
Yes! Works fine with Python 3.9.15. |
Thank you Samuel! And sorry for the headaches |
This should be fixed in version 2.1.10. |
I encountered this error with mode eggnog-mapper/eggnogmapper/utils.py Line 233 in 69c8afd
|
Thank you very much! |
Hi!
After installing eggnog-mapper v2.1.9 through conda (Python 3.11.0) and running
emapper.py
with the--md5
option I got this error:I'm not sure if this is the correct place to post this bug, but I guess the problem is that the
'U'
option is the default behavior of theopen()
function since Python 3.0, and it was deprecated in Python 3.11. I removed the'U'
from_source = open(source, "rU")
and it is working fine.Thanks!
The text was updated successfully, but these errors were encountered: