Skip to content

Commit

Permalink
Update test_skycoord_corners in TestHipsTileMeta
Browse files Browse the repository at this point in the history
  • Loading branch information
adl1995 committed Jun 30, 2017
1 parent 3c8204a commit 9b79b9d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 0 additions & 1 deletion hips/tiles/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# Licensed under a 3-clause BSD style license - see LICENSE.rst
"""Classes and functions to manage HiPS tiles."""
from .tile import *
from .tile_meta import *
from .description import *
from .surveys import *
4 changes: 4 additions & 0 deletions hips/tiles/tests/test_tile.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,3 +69,7 @@ def test_dst(self):
def test_skycoord_corners(self):
assert_allclose(self.meta.skycoord_corners.ra.deg, [264.375, 258.75, 264.375, 270.])
assert_allclose(self.meta.skycoord_corners.dec.deg, [-24.624318, -30., -35.685335, -30.])

meta = HipsTileMeta(order=3, ipix=450, file_format='fits', frame='galactic', tile_width=512)
assert_allclose(meta.skycoord_corners.l.deg, [264.375, 258.75, 264.375, 270.])
assert_allclose(meta.skycoord_corners.b.deg, [-24.624318, -30., -35.685335, -30.])

0 comments on commit 9b79b9d

Please sign in to comment.