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

How to run funannotate setup local,configure Funannotate to use the locally downloaded database files instead of re-downloading them? #1035

Open
zengqd opened this issue Apr 29, 2024 · 0 comments

Comments

@zengqd
Copy link

zengqd commented Apr 29, 2024

Are you using the latest release?
Yes

Describe the bug
How to configure Funannotate to use the locally downloaded database files instead of re-downloading them?

What command did you issue?
funannotate setup -b dikarya --wget
error:"Traceback (most recent call last):
File "/home/zqd/anaconda3/envs/funannotate/bin/funannotate", line 10, in
sys.exit(main())
File "/home/zqd/anaconda3/envs/funannotate/lib/python3.8/site-packages/funannotate/funannotate.py", line 716, in main
mod.main(arguments)
File "/home/zqd/anaconda3/envs/funannotate/lib/python3.8/site-packages/funannotate/setupDB.py", line 730, in main
meropsDB(DatabaseInfo, args.force, args=args)
File "/home/zqd/anaconda3/envs/funannotate/lib/python3.8/site-packages/funannotate/setupDB.py", line 175, in meropsDB
type, name, version, date, records, checksum = info.get('merops')
TypeError: cannot unpack non-iterable NoneType object"
funannotate setup -b dikarya --wget --force
allows the command to proceed without this error, However, this results in the databases being re-downloaded, which is not ideal since I already have the local copies prepared.

OS/Install Information

  • OK
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

No branches or pull requests

1 participant