Closed Benfeitas closed 1 year ago
What is the value of the remaining elements, and how many are there in total? Are there NaN values in there (that will cause all sort of trouble).
If the matrices are small enough, I'd go into the code and examine the intermediate results (that means directly patching the source code, though).
Closing assuming it was a NaN issue?
hi, yes, I could not examine exactly what was going on. I went back to change the input data and all worked in the end, so I couldn't really understand what happened but the NaN is not unlikely
Hi,
I'm computing metacells per cluster, and finding an
AssertionError
thrown in_rank_outgoing
line 278 ofmetacells/tools/knn_graph.py
:assert np.sum(np.diagonal(outgoing_ranks) == size) == size
. I've exported theoutgoing_ranks
and can see that only 9 elements of the diagonal vector are equal tosize
. How would you approach this issue?Thanks in advance