Skip to content

Commit

Permalink
Fix table logger by casting to str
Browse files Browse the repository at this point in the history
  • Loading branch information
mike-w-wilson committed Jun 3, 2024
1 parent 403df5f commit 093f774
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gnomad_qc/v4/analyses/grpmax_comps.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,8 +210,8 @@ def create_table(
logger.info(
f"\n{'non-synonymous' if non_syn_only else ''} variant count by genetic "
f"ancestry group where the\n{'grpmax' if grpmax_counts else ''} AF is above"
f" {threshold}{' and the '+ {data_subset} + ' AF is below it' if grpmax_counts else ''}...\n"
f"{tabulate(table,headers=headers,tablefmt='fancy_grid')}"
f" {threshold}{' and the ' + str(data_subset) + ' AF is below it' if grpmax_counts else ''}...\n"
f"{tabulate(table, headers=headers, tablefmt='fancy_grid')}"
)


Expand Down

0 comments on commit 093f774

Please sign in to comment.