ShobiStassen / PARC

MIT License
41 stars 11 forks source link

Fixed Bug: pre-computed neighbors-graph and small clusters #13

Closed tommycelsius closed 4 years ago

tommycelsius commented 4 years ago

Bugs fixed: When using a pre-computed neighbor graph, PARC.neighbor_graph, if there were small clusters present, it would throw an error because neighbor_array didn't exist in run_subPARC(). To fix this, we generate neighbor_array from neighbor_graph.

This is a bug I created in my last PR (my apologies), but here's the fix!