From 1d2ddf9eb6cf7d2f5feee1692426a5508346da52 Mon Sep 17 00:00:00 2001 From: "Samuel E. Miller" Date: Sat, 5 Oct 2024 23:42:42 -0500 Subject: [PATCH] fix variable name leading to false warning --- anvio/keggmapping.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/anvio/keggmapping.py b/anvio/keggmapping.py index 58b356330..c4bc9652e 100644 --- a/anvio/keggmapping.py +++ b/anvio/keggmapping.py @@ -787,7 +787,7 @@ def map_contigs_databases_kos( else: raise AssertionError - if cmap.name in qualitative_colormaps + repeating_colormaps: + if group_cmap.name in qualitative_colormaps + repeating_colormaps: poor_colormap = True if group_colormap_limits != (0.0, 1.0): @@ -1657,7 +1657,7 @@ def map_pan_database_kos( else: raise AssertionError - if cmap.name in qualitative_colormaps + repeating_colormaps: + if group_cmap.name in qualitative_colormaps + repeating_colormaps: poor_colormap = True if group_colormap_limits != (0.0, 1.0):