Skip to content
This repository was archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
Fixed bad docstrings in the horizons query methods
Browse files Browse the repository at this point in the history
  • Loading branch information
daminton committed Feb 25, 2024
1 parent a26f354 commit ba7edc5
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions swiftest/init_cond.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ def horizons_get_physical_properties(altid,**kwargs):
Returns
-------
MSun_over_Mpl : float
The ratio of MSun/M of the body
GMass : float
G*Mass of the body
radius : float
The radius of the body in m
rot: (3) float vector
Expand Down Expand Up @@ -198,7 +198,11 @@ def get_altid(errstr,exclude_spacecraft=True):
Returns
-------
MSun_over_Mpl : float
altid: string list | None
A list of alternate ids if more than one object matches the list
altname: string list | None
A list of alternate names if more than one object matches the list
"""
if "ID" in errstr:
altid = errstr.split('ID')[1]
Expand Down

0 comments on commit ba7edc5

Please sign in to comment.