Skip to content

Commit 8737707

Browse files
committed
fix to gtt-get-accessions-from-GTDB thanks to note from @MariaAVC
1 parent 70b992f commit 8737707

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

bin/GToTree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ GREEN='\033[0;32m'
55
RED='\033[0;31m'
66
YELLOW='\033[0;33m'
77
NC='\033[0m'
8-
VERSION="v1.8.15"
8+
VERSION="v1.8.16"
99

1010
if [ "$1" == "--version" ] || [ "$1" == "-v" ]; then
1111
printf "GToTree ${VERSION}\n"

bin/gtt-gen-SCG-HMMs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ For examples, please visit the GToTree wiki here: https://github.com/AstrobioMik
88
For details on the process, please see: https://github.com/AstrobioMike/GToTree/wiki/SCG-sets
99
"""
1010

11-
VERSION="v1.8.15"
11+
VERSION="v1.8.16"
1212
import os
1313
import re
1414
import sys

bin/gtt-get-accessions-from-GTDB

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -505,11 +505,11 @@ def check_stored_gtdb_up_to_date(location):
505505

506506
# getting latest version info from GTDB
507507
# gtdb changed from using VERSION to using VERSION.txt at some point, so putting in a try/except to shoot for both in case it's doing a version comparison
508-
if args.ecogenomics:
508+
if args.use_ecogenomics:
509509
gtdb_version_link = "https://data.gtdb.ecogenomic.org/releases/latest/VERSION"
510510
else:
511511
gtdb_version_link = "https://data.ace.uq.edu.au/public/gtdb/data/releases/latest/VERSION"
512-
512+
513513
try:
514514
gtdb_version_info = urllib.request.urlretrieve(f"{gtdb_version_link}.txt", location + "GTDB-latest-version-info.txt")
515515
except:

bin/gtt-pfam-search

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ GREEN='\033[0;32m'
55
RED='\033[0;31m'
66
YELLOW='\033[0;33m'
77
NC='\033[0m'
8-
VERSION="v1.8.15"
8+
VERSION="v1.8.16"
99

1010
printf "\n\n GToTree ${VERSION}\n"
1111
printf " (github.com/AstrobioMike/GToTree)\n\n"

0 commit comments

Comments
 (0)