Skip to content

Commit d4d62f7

Browse files
authored
MRG: fix notify; update remaining taxa; bump version (#84)
1 parent 6d4942d commit d4d62f7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "sourmash_plugin_betterplot"
33
description = "sourmash plugin for improved plotting/viz and cluster examination."
44
readme = "README.md"
55
requires-python = ">=3.11"
6-
version = "0.5.4"
6+
version = "0.5.5"
77

88
# note: "legacy_cgi" is currently needed for ete3, but may need to be changed on next ete release, see: https://github.com/etetoolkit/ete/issues/780
99
dependencies = ["sourmash>=4.9.2,<5", "sourmash_utils>=0.2",

src/sourmash_plugin_betterplot.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1580,7 +1580,7 @@ def main(self, args):
15801580
sketches.extend(x)
15811581

15821582
if len(sketches) != 2:
1583-
error("ERROR: {len(sketches)} sketches found. Must supply exactly 2.")
1583+
error(f"ERROR: {len(sketches)} sketches found. Must supply exactly 2.")
15841584
sys.exit(-1)
15851585

15861586
mh1 = sketches[0].minhash
@@ -2114,7 +2114,7 @@ def plot_treemap(args):
21142114
remaining = fractions[num:]
21152115
remainder = sum(remaining)
21162116
display_fractions.append(remainder)
2117-
display_names.append('remaining taxa')
2117+
display_names.append(f'{len(remaining)} remaining taxa')
21182118
print(f'aggregating {len(remaining)} remaining taxa into one box')
21192119

21202120
fractions, names = display_fractions, display_names

0 commit comments

Comments
 (0)