Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/github_actions/actions/add-to-pro…
Browse files Browse the repository at this point in the history
…ject-1.0.1
  • Loading branch information
delucchi-cmu authored May 2, 2024
2 parents 0c19a17 + 8dbd116 commit 5649789
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/lsdb/catalog/test_crossmatch.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import lsdb
import pytest
from lsdb.core.crossmatch.kdtree_match import KdTreeCrossmatch


def test_kdtree_crossmatch(small_sky_catalog_cloud, small_sky_xmatch_catalog_cloud, xmatch_correct_cloud):
Expand Down Expand Up @@ -31,7 +30,7 @@ def test_crossmatch_with_margin(
)
small_sky_xmatch_catalog = lsdb.read_hipscat(small_sky_xmatch_dir_cloud, storage_options=storage_options)
xmatched = small_sky_xmatch_catalog.crossmatch(
small_sky_order1_catalog, n_neighbors=3, radius_arcsec=2 * 3600, algo=KdTreeCrossmatch
small_sky_order1_catalog, n_neighbors=3, radius_arcsec=2 * 3600
).compute()
assert len(xmatched) == len(xmatch_with_margin)
for _, correct_row in xmatch_with_margin.iterrows():
Expand Down

0 comments on commit 5649789

Please sign in to comment.