Skip to content
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
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,15 @@

import warnings

from .healpix import HEALPix # noqa: F401

__all__ = ["HEALPix"]

try:
from .healpix import HEALPix # noqa: F401

except:

class HealPix:
def __init__(self):
warnings.warn(
"Could not import the healpix projection, please install the 'healpy' and 'reproject' optional dependencies"
)