diff --git a/.github/workflows/pre-commit-ci.yml b/.github/workflows/pre-commit-ci.yml index f31b3ee6..642e7b9d 100644 --- a/.github/workflows/pre-commit-ci.yml +++ b/.github/workflows/pre-commit-ci.yml @@ -7,7 +7,7 @@ on: push: branches: [ main ] pull_request: - branches: [ main ] + branches: [ main, margin ] jobs: pre-commit-ci: diff --git a/.github/workflows/testing-and-coverage.yml b/.github/workflows/testing-and-coverage.yml index 11c13d05..b318df50 100644 --- a/.github/workflows/testing-and-coverage.yml +++ b/.github/workflows/testing-and-coverage.yml @@ -7,7 +7,7 @@ on: push: branches: [ main ] pull_request: - branches: [ main ] + branches: [ main, margin ] jobs: build: diff --git a/docs/requirements.txt b/docs/requirements.txt index 6a734805..8cd6da74 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -10,5 +10,5 @@ sphinx-autoapi sphinx-copybutton sphinx-book-theme sphinx-design -git+https://github.com/astronomy-commons/hats.git@main -git+https://github.com/astronomy-commons/hats-import.git@main +git+https://github.com/astronomy-commons/hats.git@margin +git+https://github.com/astronomy-commons/hats-import.git@margin diff --git a/requirements.txt b/requirements.txt index 54865347..f2b394e4 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,3 @@ -git+https://github.com/astronomy-commons/hats.git@main +git+https://github.com/astronomy-commons/hats.git@margin git+https://github.com/lincc-frameworks/nested-pandas.git@main git+https://github.com/lincc-frameworks/nested-dask.git@main \ No newline at end of file diff --git a/src/lsdb/core/search/polygon_search.py b/src/lsdb/core/search/polygon_search.py index 1f29d8c6..fe7e3207 100644 --- a/src/lsdb/core/search/polygon_search.py +++ b/src/lsdb/core/search/polygon_search.py @@ -63,6 +63,6 @@ def get_cartesian_polygon(vertices: list[tuple[float, float]]) -> ConvexPolygon: Returns: The convex polygon object. """ - vertices_xyz = hp.ang2vec(*np.array(vertices).T, lonlat=True) + vertices_xyz = hp.ang2vec(*np.array(vertices).T) edge_vectors = [UnitVector3d(x, y, z) for x, y, z in vertices_xyz] return ConvexPolygon(edge_vectors)