Skip to content

Commit

Permalink
[pre-commit.ci] Fixing issues with pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Oct 10, 2024
1 parent 9205b2a commit 5dbd8c3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions topostats/tracing/nodestats.py
Original file line number Diff line number Diff line change
Expand Up @@ -1571,9 +1571,7 @@ def average_height_trace( # noqa: C901
trace = order_branch(trace_img, branch_coords[0])
height_trace = img[trace[:, 0], trace[:, 1]]
dist = nodeStats.coord_dist_rad(trace, centre) # self.coord_dist(trace)
dist, height_trace = nodeStats.average_uniques(
dist, height_trace
) # needs to be paired with coord_dist_rad
dist, height_trace = nodeStats.average_uniques(dist, height_trace) # needs to be paired with coord_dist_rad
heights.append(height_trace)
distances.append(
dist - dist_zero_point # - 0
Expand Down

0 comments on commit 5dbd8c3

Please sign in to comment.