Skip to content

Commit

Permalink
longitude and latitude is deprecated in favour of lon lat
Browse files Browse the repository at this point in the history
  • Loading branch information
bsipocz committed Jul 10, 2018
1 parent c92462f commit 1e3c3f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gammapy/data/tests/test_observers.py
Expand Up @@ -8,7 +8,7 @@
def test_observatory_locations():
# Check one example
location = observatory_locations['hess']
assert_allclose(location.longitude.deg, Angle('16d30m00.8s').deg)
assert_allclose(location.latitude.deg, Angle('-23d16m18.4s').deg)
assert_allclose(location.lon.deg, Angle('16d30m00.8s').deg)
assert_allclose(location.lat.deg, Angle('-23d16m18.4s').deg)
assert_allclose(location.height.value, 1835)
assert str(location.height.unit) == 'm'

0 comments on commit 1e3c3f9

Please sign in to comment.