Skip to content

Commit 372c330

Browse files
authored
Merge branch 'master' into GH566_add_cross_metadata_to_docs
2 parents bf2c430 + b758f0f commit 372c330

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

malariagen_data/anoph/g123.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def _load_data_for_g123(
8080
inline_array=True,
8181
chunks="native",
8282
).compute()
83-
hap_site_mask = np.in1d(pos, haplotype_pos, assume_unique=True)
83+
hap_site_mask = np.isin(pos, haplotype_pos, assume_unique=True)
8484
pos = pos[hap_site_mask]
8585
gt = gt.compress(hap_site_mask, axis=0)
8686

0 commit comments

Comments
 (0)