We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dc16a6b commit 05372d4Copy full SHA for 05372d4
1 file changed
malariagen_data/anoph/g123.py
@@ -80,7 +80,7 @@ def _load_data_for_g123(
80
inline_array=True,
81
chunks="native",
82
).compute()
83
- hap_site_mask = np.in1d(pos, haplotype_pos, assume_unique=True)
+ hap_site_mask = np.isin(pos, haplotype_pos, assume_unique=True)
84
pos = pos[hap_site_mask]
85
gt = gt.compress(hap_site_mask, axis=0)
86
0 commit comments