A Python toolkit for subcellular analysis of spatial transcriptomics data
BSD 2-Clause "Simplified" License
70
stars
6
forks
source link
`_sjoin_shapes` fails to replace NaNs when '' is not already in column category #163
Open
nklkhlr opened 2 weeks ago
I noticed that
bento.io.prep
fails inside_sjoin_shapes
(line 119 inbento.io._index.py
) withif '' is not already in the
shape_key
column and it contains NaNs.I added the following simple check between lines 123 and 124 to fix it: