Skip to content
Draft
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
2 changes: 1 addition & 1 deletion malariagen_data/anopheles.py
Original file line number Diff line number Diff line change
Expand Up @@ -2369,7 +2369,7 @@ def plot_haplotype_network(

# count color values for each distinct haplotype (same for both string and mapping cases)
ht_color_counts = [
df_haps.iloc[list(s)]["_partition"].value_counts().to_dict()
df_haps.loc[list(s), "_partition"].value_counts().to_dict()
for s in ht_distinct_sets
]

Expand Down
Loading