Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix: remove Mercury and Venus opposition
  • Loading branch information
Jérôme Deuchnord committed Mar 19, 2020
1 parent f2b5772 commit 1b4c499
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kosmorrolib/events.py
Expand Up @@ -80,7 +80,7 @@ def is_oppositing(time: Time) -> [bool]:
events = []

for aster in ASTERS:
if not isinstance(aster, Planet) or aster.name in ['Mercury', 'Venus']:
if not isinstance(aster, Planet) or aster.skyfield_name in ['MERCURY', 'VENUS']:
continue

times, _ = find_discrete(start_time, end_time, is_oppositing)
Expand Down

0 comments on commit 1b4c499

Please sign in to comment.