Skip to content

Commit

Permalink
remove library id, this error happens when there is only one library …
Browse files Browse the repository at this point in the history
…id category in spatial neigbours
  • Loading branch information
selmanozleyen committed Jun 2, 2024
1 parent f3d94b0 commit 4c4b997
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/ann2data/test_ann2data_by_category.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def test_sample_case_ann2data_basic():
# make sure that there are two clusters of spatial coordinates
# so that the resulting splits number of edges will be the same
# as the sum of the number of edges in each cluster
func_args = {"radius": 4.0, "coord_type": "generic", "library_key": "image_id"}
func_args = {"radius": 4.0, "coord_type": "generic"}
coordinates[:25, 0] += 100
adata_gt = ad.AnnData(
np.random.rand(50, 2),
Expand Down

0 comments on commit 4c4b997

Please sign in to comment.