Skip to content

Commit

Permalink
refactor GTDB taxonomy parser (#192)
Browse files Browse the repository at this point in the history
  • Loading branch information
nbokulich authored and lizgehret committed Jun 20, 2024
1 parent d52d8fa commit 537a459
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions rescript/get_gtdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,7 @@ def _assemble_queries(version='214.1',


def parse_gtdb_taxonomy(tax_str):
tax = ' '.join(tax_str.split()[0:2])
return tax
return tax_str.split("[")[0].strip()


def _get_gtdb_data_path(tmpdirname, url, basename):
Expand Down

0 comments on commit 537a459

Please sign in to comment.