Skip to content

Commit

Permalink
typos. I swear my tests were working great at one point ¯\_(ツ)_/¯
Browse files Browse the repository at this point in the history
  • Loading branch information
Jordan DeKraker committed Jan 28, 2025
1 parent e2c860b commit b51000b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion hippunfold/workflow/scripts/gen_isosurface.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ 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
epsilon - snakemake.params.coords_epsilon
epsilon = snakemake.params.coords_epsilon
good_v = np.where(np.logical_and(coord_at_V < (1 - epsilon), coord_at_V > epsilon))[0]

# morphological open
Expand Down
6 changes: 2 additions & 4 deletions hippunfold/workflow/scripts/laplace_beltrami.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,14 +147,12 @@ def solve_laplace_beltrami_open_mesh(vertices, faces, boundary_conditions=None):

APinds = np.array(np.where(boundary_values < 12)[0]).astype(int)
boundary_conditions = dict(zip(boundary_vertices[APinds], boundary_values[APinds] - 10))
APcoords = np.ones((len(vertices_orig))) * np.nan
APcoords[i_concomp] = solve_laplace_beltrami_open_mesh(
APcoords = solve_laplace_beltrami_open_mesh(
vertices, faces, boundary_conditions
)
PDinds = np.array(np.where(boundary_values > 12)[0]).astype(int)
boundary_conditions = dict(zip(boundary_vertices[PDinds], boundary_values[PDinds] - 20))
PDcoords = np.ones((len(vertices_orig))) * np.nan
PDcoords[i_concomp] = solve_laplace_beltrami_open_mesh(
PDcoords = solve_laplace_beltrami_open_mesh(
vertices, faces, boundary_conditions
)

Expand Down

0 comments on commit b51000b

Please sign in to comment.