Skip to content

Commit bb0c9dc

Browse files
committed
Troubleshoot CI
1 parent 76c9f01 commit bb0c9dc

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

plannotate/resources.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -338,10 +338,9 @@ def download_databases():
338338
# this is locked at minor version bumps
339339
# need to upload a new database into github every minor update
340340
# patch number bumps just refer to the X.X.0 version
341-
version_parts = plannotate_version.split('.', 1)
341+
version_parts = plannotate_version.split('.')
342342
version = ".".join(version_parts[:2])
343343
db_loc = f"https://github.com/mmcguffi/pLannotate/releases/download/v{version}.0/BLAST_dbs.tar.gz"
344-
# db_loc = "https://github.com/barricklab/pLannotate/releases/download/v1.1.0/BLAST_dbs.tar.gz"
345344

346345
# subprocess.call(["wget", "-P", f"{ROOT_DIR}/data/", db_loc])
347346
subprocess.run(["curl", "-L", "-o", f"{ROOT_DIR}/data/BLAST_dbs.tar.gz", db_loc], check=True)

0 commit comments

Comments
 (0)