Skip to content

Commit

Permalink
exposed epsilon pt2
Browse files Browse the repository at this point in the history
  • Loading branch information
Jordan DeKraker committed Jan 27, 2025
1 parent 4079256 commit 6b240c0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion hippunfold/workflow/scripts/gen_isosurface.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,8 @@ def compute_geodesic_distances(vertices, faces, source_indices):
] # really hope there's no x-y switching fuckery here!

# keep vertices that are in a nice coordinate range
good_v = np.where(np.logical_and(coord_at_V < 0.9, coord_at_V > 0.1))[0]
epsilon - snakemake.params.coords_epsilon
good_v = np.where(np.logical_and(coord_at_V < (1-epsilon), coord_at_V > epsilon))[0]

# morphological open
maxdist = compute_geodesic_distances(points, faces, good_v)
Expand Down

0 comments on commit 6b240c0

Please sign in to comment.