Closed yanlend closed 3 years ago
Hi, I wrote a fix for this issue. Thanks for reporting! Would you mind taking a look and checking that it performs the way you expect? Thanks!
Sorry did not have time on short notice to compile and test it.
Thank you for the quick fix!
path_from_parents
implicitly assumes 3d input data and fails for 2d data. The code accessshape[2]
argument even thoughndim
is only 2.This might be an easy fix to check for the dimensionality of the input array, and the related functions seem to support both 2d and 3d input.