diff --git a/lunarsky/time.py b/lunarsky/time.py index 8a14dd3..fe97fe9 100644 --- a/lunarsky/time.py +++ b/lunarsky/time.py @@ -50,6 +50,8 @@ def __init__( ) if isinstance(location, MoonLocation): + # Avoids a deprecation warning in astropy >= 6.1, while + # maintaining compatibility with earlier versions. if (version.major == 6 and version.minor >= 1) or version.major > 6: self._location = location else: