diff --git a/glue_wwt/viewer/utils.py b/glue_wwt/viewer/utils.py index bc4b9dce..48f74ddb 100644 --- a/glue_wwt/viewer/utils.py +++ b/glue_wwt/viewer/utils.py @@ -3,7 +3,10 @@ import numpy as np from astropy import units as u -from astropy.coordinates.angle_utilities import angular_separation +try: + from astropy.coordinates import angular_separation +except ImportError: + from astropy.coordinates.angle_utilities import angular_separation from astropy.coordinates.representation import UnitSphericalRepresentation __all__ = ['center_fov']