Skip to content

Commit

Permalink
fix variable name leading to false warning
Browse files Browse the repository at this point in the history
  • Loading branch information
semiller10 committed Oct 6, 2024
1 parent 6b33f06 commit 1d2ddf9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions anvio/keggmapping.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down Expand Up @@ -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):
Expand Down

0 comments on commit 1d2ddf9

Please sign in to comment.