Skip to content

Commit

Permalink
Remove extraneous column from _make_neighborhood_matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-l-kong committed Dec 8, 2022
1 parent ee068b2 commit dd1ef20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ark/utils/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -680,7 +680,7 @@ def _make_neighborhood_matrix():
intended to test clustering
"""
col_names = {0: settings.FOV_ID, 1: settings.CELL_LABEL, 2: 'feature1', 3: 'feature2'}
neighbor_counts = pd.DataFrame(np.zeros((200, 5)))
neighbor_counts = pd.DataFrame(np.zeros((200, 4)))
neighbor_counts = neighbor_counts.rename(col_names, axis=1)

neighbor_counts.iloc[0:100, 0] = "fov1"
Expand Down

0 comments on commit dd1ef20

Please sign in to comment.