Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Address now-missing argument in crossmatch #27

Merged
merged 1 commit into from
May 2, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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