Skip to content

Commit

Permalink
Revert index in img_data[0] to img_data[1] (#557)
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-l-kong committed May 19, 2022
1 parent ad9fd61 commit 8bc87c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ark/utils/data_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ def generate_pixel_cluster_mask(fovs, base_dir, tiff_dir, chan_file,
y_coords = fov_data['column_index'].values

# convert to 1D indexing
coordinates = x_coords * img_data.shape[0] + y_coords
coordinates = x_coords * img_data.shape[1] + y_coords

# get the cooresponding cluster labels for each pixel
cluster_labels = list(fov_data[pixel_cluster_col])
Expand Down

0 comments on commit 8bc87c2

Please sign in to comment.