Skip to content

Commit

Permalink
Add version property (#418)
Browse files Browse the repository at this point in the history
  • Loading branch information
delucchi-cmu authored Nov 14, 2024
1 parent 17ec4ac commit 21ac050
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/hats/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""High-level namespace, hats"""

from . import catalog, inspection, io, pixel_math
from ._version import __version__
from .loaders import read_hats
6 changes: 6 additions & 0 deletions tests/hats/test_version.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import hats


def test_hats_version():
"""Check to see that we can get the HATS version"""
assert hats.__version__ is not None

0 comments on commit 21ac050

Please sign in to comment.