Skip to content

Commit 38d104e

Browse files
committed
This needs to be a numpy array
np.*.outer is deprecated when passed a Pandas series: pandas-dev/pandas#27198
1 parent 463e51f commit 38d104e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

capy/mut.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ def get_pon(M, ponfile, ref = None):
112112
print("Path to PoN file {} not found!".format(ponfile), file = _sys.stderr)
113113
return
114114

115-
gpos = _seq.chrpos2gpos(M["chr"], M["pos"], ref = ref)
115+
gpos = _np.array(_seq.chrpos2gpos(M["chr"], M["pos"], ref = ref))
116116

117117
return fastmmap.query(
118118
ponfile,

0 commit comments

Comments
 (0)