Skip to content

Commit

Permalink
Consistency fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jak574 committed Jan 14, 2024
1 parent c90ef9a commit 5fcd04f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions astroplan/constraints.py
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ def _get_solar_altitudes(self, times, observer, targets):
if not hasattr(observer, '_altaz_cache'):
observer._altaz_cache = {}

aakey = _make_cache_key(times, "sun")
aakey = _make_cache_key(times, 'sun')

if aakey not in observer._altaz_cache:
try:
Expand Down Expand Up @@ -510,7 +510,7 @@ def compute_constraint(self, times, observer, targets):
# centred frame, so the separation is as-seen
# by the observer.
# 'get_sun' returns ICRS coords.
sun = observer.get_body("sun", times)
sun = observer.get_body('sun', times)
targets = get_skycoord(targets)
solar_separation = sun.separation(targets)

Expand Down

0 comments on commit 5fcd04f

Please sign in to comment.