Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update convex hull code #789

Closed
Prev Previous commit
Next Next commit
codestyle check 2
  • Loading branch information
christinawlindberg committed May 26, 2023
commit 87793046b16a29748d2630ef6f9a3dc26863e35c
2 changes: 1 addition & 1 deletion beast/tools/cut_catalogs.py
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ def alpha_shape(coords, alpha):
edge1 = filtered[:, (0, 1)]
edge2 = filtered[:, (1, 2)]
edge3 = filtered[:, (2, 0)]
edge_points = np.unique(np.concatenate((edge1,edge2,edge3)), axis=0).tolist()
edge_points = np.unique(np.concatenate((edge1, edge2, edge3)), axis=0).tolist()
m = geometry.MultiLineString(edge_points)
triangles = list(polygonize(m))

Expand Down
Loading