apcamargo / genomad

geNomad: Identification of mobile genetic elements
https://portal.nersc.gov/genomad/
Other
169 stars 17 forks source link

Errors when download and the same issue when running genomad -h #98

Closed Tsingsjeen closed 1 month ago

Tsingsjeen commented 1 month ago

(base) alex_chen@shpc-3535-instance-jBqE8J6O:~/database/GENOMAD_DB$ genomad download-database . Traceback (most recent call last): File "/home/alex_chen/miniconda3/bin/genomad", line 6, in from genomad.cli import cli File "/home/alex_chen/miniconda3/lib/python3.10/site-packages/genomad/init.py", line 5, in from genomad.modules import ( File "/home/alex_chen/miniconda3/lib/python3.10/site-packages/genomad/modules/marker_classification.py", line 15, in np.warnings.filterwarnings("ignore", "overflow") File "/home/alex_chen/miniconda3/lib/python3.10/site-packages/numpy/init.py", line 333, in getattr raise AttributeError("module {!r} has no attribute " AttributeError: module 'numpy' has no attribute 'warnings'. Did you mean: 'hanning'?

thank you!

apcamargo commented 1 month ago

Hi @Tsingsjeen,

This bug was fixed in version 1.6.1. Can you try updating your installation to the latest geNomad version (right now, version 1.8.0)? This should fix your issue.

Tsingsjeen commented 1 month ago

@apcamargo , thanks! now solved!

apcamargo commented 1 month ago

Good to hear!! Let me know if you need further help.