Skip to content

Commit 4058606

Browse files
committed
fix: change keep_cols from tuple to list to fix mypy type error
1 parent ed24f85 commit 4058606

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

malariagen_data/anoph/snp_frq.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ def np_sum(g):
419419
for c in nobs_cols:
420420
agg[c] = "first"
421421

422-
keep_cols = (
422+
keep_cols = [
423423
"contig",
424424
"transcript",
425425
"aa_pos",
@@ -430,7 +430,7 @@ def np_sum(g):
430430
"impact",
431431
"grantham_score",
432432
"sneath_score",
433-
)
433+
]
434434
for c in keep_cols:
435435
agg[c] = "first"
436436
agg["alt_allele"] = lambda v: "{" + ",".join(v) + "}" if len(v) > 1 else v

0 commit comments

Comments
 (0)