local_tree = KDTree(local_xyz) # slow
^^^^^^^^^^^^^^^^^
File ...line 360, in __init__
super().__init__(data, leafsize, compact_nodes, copy_data,
File "_ckdtree.pyx", line 558, in scipy.spatial._ckdtree.cKDTree.__init__
ValueError: data must be 2 dimensions
We want to allow it, so we have to create a work around.
This error:
We want to allow it, so we have to create a work around.