We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 56f473a commit 0993d82Copy full SHA for 0993d82
1 file changed
malariagen_data/anoph/hap_freq.py
@@ -96,7 +96,7 @@ def haplotypes_frequencies(
96
cohorts_iterator = self._progress(
97
coh_dict.items(), desc="Compute allele frequencies"
98
)
99
- hap_track = {}
+ hap_track: dict[int, int] = {}
100
for coh, loc_coh in cohorts_iterator:
101
hap_track = {k: 0 for k in hap_track.keys()}
102
n_samples = np.count_nonzero(loc_coh)
0 commit comments