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

Use hipscat for healpix dependency. #346

Merged
merged 3 commits into from
Jul 19, 2024
Merged
Show file tree
Hide file tree
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
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ dynamic = ["version"]
dependencies = [
"dask[complete]>=2024.3.0", # Includes dask expressions.
"deprecated",
"healpy",
"hipscat >=0.3.5",
"ipykernel", # Support for Jupyter notebooks
"numpy",
Expand Down
2 changes: 1 addition & 1 deletion src/hipscat_import/catalog/map_reduce.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import pickle
from typing import Any, Dict, Union

import healpy as hp
import hipscat.pixel_math.healpix_shim as hp
import numpy as np
import pyarrow as pa
import pyarrow.parquet as pq
Expand Down
2 changes: 1 addition & 1 deletion src/hipscat_import/catalog/resume_plan.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from dataclasses import dataclass, field
from typing import List, Optional, Tuple

import healpy as hp
import hipscat.pixel_math.healpix_shim as hp
import numpy as np
from hipscat import pixel_math
from hipscat.io import FilePointer, file_io
Expand Down
2 changes: 1 addition & 1 deletion src/hipscat_import/catalog/sparse_histogram.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""Sparse 1-D histogram of healpix pixel counts."""

import healpy as hp
import hipscat.pixel_math.healpix_shim as hp
import numpy as np
from scipy.sparse import csc_array, load_npz, save_npz, sparray

Expand Down
2 changes: 1 addition & 1 deletion src/hipscat_import/margin_cache/margin_cache_arguments.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from dataclasses import dataclass, field
from typing import Any, Dict, List, Union

import healpy as hp
import hipscat.pixel_math.healpix_shim as hp
from hipscat.catalog import Catalog
from hipscat.catalog.margin_cache.margin_cache_catalog_info import MarginCacheCatalogInfo
from hipscat.io.validation import is_valid_catalog
Expand Down
2 changes: 1 addition & 1 deletion src/hipscat_import/margin_cache/margin_cache_map_reduce.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import healpy as hp
import hipscat.pixel_math.healpix_shim as hp
import numpy as np
import pandas as pd
import pyarrow as pa
Expand Down
2 changes: 1 addition & 1 deletion src/hipscat_import/soap/resume_plan.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from dataclasses import dataclass, field
from typing import List, Optional, Tuple

import healpy as hp
import hipscat.pixel_math.healpix_shim as hp
import numpy as np
from hipscat.catalog import Catalog
from hipscat.io import file_io
Expand Down
2 changes: 1 addition & 1 deletion tests/hipscat_import/catalog/test_map_reduce.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
import pickle
from io import StringIO

import healpy as hp
import hipscat.pixel_math as hist
import hipscat.pixel_math.healpix_shim as hp
import numpy as np
import numpy.testing as npt
import pandas as pd
Expand Down
2 changes: 1 addition & 1 deletion tests/hipscat_import/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import re
from pathlib import Path

import healpy as hp
import hipscat.pixel_math.healpix_shim as hp
import numpy as np
import numpy.testing as npt
import pandas as pd
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import os

import healpy as hp
import hipscat.pixel_math.healpix_shim as hp
import numpy as np
import pandas as pd
import pytest
Expand Down