소스 검색

fix: remove Mercury and Venus opposition

tags/v0.6.2
Jérôme Deuchnord 5 년 전
부모
커밋
1b4c499127
No known key found for this signature in database GPG 키 ID: BC6F3C345B7D33B0
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -1
      kosmorrolib/events.py

+ 1
- 1
kosmorrolib/events.py 파일 보기

@@ -80,7 +80,7 @@ def _search_oppositions(start_time: Time, end_time: Time) -> [Event]:
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)


불러오는 중...
취소
저장