The command cblaster makedb Downloads/*.gbk -n test returns:
File "/home/stve/.local/lib/python3.9/site-packages/cblaster/database.py", line 185, in makedb
path_groups = [paths[i : i + batch] for i in range(0, total_paths, batch)]
ValueError: range() arg 3 must not be zero
This is because the return value from find_files_at_path in genome_parsers.py is an empty list
The command
cblaster makedb Downloads/*.gbk -n test
returns:This is because the return value from
find_files_at_path
in genome_parsers.py is an empty listReverting this commit fixed the issue for me.