Skip to content

Commit

Permalink
Clarify that distances is initially empty
Browse files Browse the repository at this point in the history
  • Loading branch information
evan10s committed Nov 14, 2020
1 parent ef6df1f commit ff8cff0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion skan/csr.py
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,8 @@ class Skeleton:
The number of paths, P. This is redundant information given `n_paths`,
but it is used often enough that it is worth keeping around.
distances : array of float, shape (P,)
The distance of each path.
The distance of each path. Note: not initialized until `path_lengths()`
is called on the skeleton; use path_lengths() instead
skeleton_image : array or None
The input skeleton image. Only present if `keep_images` is True. Set to
False to preserve memory.
Expand Down

0 comments on commit ff8cff0

Please sign in to comment.