diff --git a/topostats/tracing/nodestats.py b/topostats/tracing/nodestats.py index e801505ad95..bf64a1a3900 100644 --- a/topostats/tracing/nodestats.py +++ b/topostats/tracing/nodestats.py @@ -913,9 +913,9 @@ def join_matching_branches_through_node( - "avg_mask" : npt.NDArray[np.bool_]. Average mask of the branches. """ matched_branches: dict[int, MatchedBranch] = {} - masked_image: dict[ - int, dict[str, npt.NDArray[np.bool_]] - ] = {} # Masked image is a dictionary of pairs of branches + masked_image: dict[int, dict[str, npt.NDArray[np.bool_]]] = ( + {} + ) # Masked image is a dictionary of pairs of branches for i, (branch_1, branch_2) in enumerate(pairs): matched_branches[i] = MatchedBranch( ordered_coords=np.array([], dtype=np.int32),