bnprks / BPCells

Scaling Single Cell Analysis to Millions of Cells
https://bnprks.github.io/BPCells
Other
166 stars 17 forks source link

[cpp] Add dims check in `build_umap_graph_cpp` #119

Closed bnprks closed 3 months ago

bnprks commented 3 months ago

This adds a defensive check for input dimensions to avoid messy crashes/bugs when users pass in mis-formed KNN results to knn_to_geodesic_graph()