Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions gnomad/resources/grch38/gnomad.py
Original file line number Diff line number Diff line change
Expand Up @@ -572,11 +572,7 @@ def gnomad_gks(
ht = ht.annotate(fraction_cov_over_20=coverage_ht[ht.locus].over_20)

# Retrieve ancestry groups from the imported POPS dictionary.
pops_list = (
list(POPS["v4" if data_type == "exomes" else "v3"])
if by_ancestry_group
else None
)
pops_list = list(POPS["v4"]) if by_ancestry_group else None

# Throw warnings if contradictory arguments are passed.
if by_ancestry_group and vrs_only:
Expand Down