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 Sep 26, 2023
1 parent 8389935 commit 7b6d9de
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions topostats/tracing/dnatracing.py
Original file line number Diff line number Diff line change
Expand Up @@ -1378,11 +1378,11 @@ def analyse_nodes(self, max_branch_length: float = 20e-9):
"""

image_slices = (
x - int(max_length_px * 1.2),
x + int(max_length_px * 1.2),
y - int(max_length_px * 1.2),
y + int(max_length_px * 1.2),
)
x - int(max_length_px * 1.2),
x + int(max_length_px * 1.2),
y - int(max_length_px * 1.2),
y + int(max_length_px * 1.2),
)

reduced_node_area = self._only_centre_branches(self.connected_nodes.copy(), (x, y))
branch_mask = reduced_node_area.copy()
Expand Down

0 comments on commit 7b6d9de

Please sign in to comment.