diff --git a/maskel/pipeline.py b/maskel/pipeline.py index 288c5ad..c7d172e 100644 --- a/maskel/pipeline.py +++ b/maskel/pipeline.py @@ -224,7 +224,7 @@ def _skeleton_has_no_branches(skeleton: np.ndarray) -> bool: """True when no two foreground pixels in *skeleton* are adjacent (full connectivity), i.e. every "branch" is an isolated single pixel. - ``skan.Skeleton`` (via ``build_vessel_graph``, and via + ``skan.Skeleton`` (via ``build_skeleton_graph``, and via ``collapse_triangle_junctions``'s own call during junction cleanup) requires at least one graph edge to build its sparse path matrix and raises a low-level ``ValueError`` from inside scipy.sparse otherwise -