Closed brianpenghe closed 3 years ago
Yep. I encountered this issue once upon a time when a labmate was doing some automated subsetting/integration and didn't notice a tiny two-cell batch, but I never acted on it as I figured it would be extremely unlikely to come up in actual use. I'll have a think how to best preempt this, probably some sort of cell count versus expected neighbour total.
Fixed in 1.4.0
I have a dataset that includes one batch containing only 2 cells. The command was
sc.external.pp.bbknn(bdata,batch_key = "batch",approx=False)
It seems that bbknn doesn't like that small batch and gave me this error:Is that really due to the fact that one batch contains only two cells?