oschwengers / bakta

Rapid & standardized annotation of bacterial genomes, MAGs & plasmids
GNU General Public License v3.0
448 stars 55 forks source link

ERROR: Could not detect/read %s version!', command[0] #253

Closed xiongqian123456789 closed 11 months ago

xiongqian123456789 commented 1 year ago

Hello! I used the bakta to annotate the bacteria genomes. It was installed by conda. Here are the log error.

(bakta) [xiongqian@mu02 bac-fa]$ bakta --db /newlustre/home/xiongqian/database/bakta/db-light TB19.bacteria.fa --output ./0 Traceback (most recent call last): File "/newlustre/home/xiongqian/miniconda3/envs/bakta/lib/python3.10/site-packages/bakta/utils.py", line 157, in read_tool_output sys.exit('ERROR: Could not detect/read %s version!', command[0]) TypeError: exit expected at most 1 argument, got 2

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/newlustre/home/xiongqian/miniconda3/envs/bakta/bin/bakta", line 10, in sys.exit(main()) File "/newlustre/home/xiongqian/miniconda3/envs/bakta/lib/python3.10/site-packages/bakta/main.py", line 58, in main bu.test_dependencies() File "/newlustre/home/xiongqian/miniconda3/envs/bakta/lib/python3.10/site-packages/bakta/utils.py", line 253, in test_dependencies test_dependency(DEPENDENCY_CIRCOS) File "/newlustre/home/xiongqian/miniconda3/envs/bakta/lib/python3.10/site-packages/bakta/utils.py", line 202, in test_dependency version = read_tool_output(dependency) File "/newlustre/home/xiongqian/miniconda3/envs/bakta/lib/python3.10/site-packages/bakta/utils.py", line 173, in read_tool_output sys.exit('ERROR: Could not detect/read %s version!', command[0]) TypeError: exit expected at most 1 argument, got 2

Apprecieate your help!

oschwengers commented 1 year ago

Hi. Which Bakta version are you using?

oschwengers commented 11 months ago

Hi @xiongqian123456789 , as I haven't heard back, I assume that this is solved. However, if this is not the case, please do not hesitate to re-open this issue. Best regards!