Skip to content

Commit

Permalink
feat(ephemeris): Add alternate names to source object.
Browse files Browse the repository at this point in the history
  • Loading branch information
tristpinsm committed May 24, 2022
1 parent b02709e commit dfffbb2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion ch_util/ephemeris.py
Original file line number Diff line number Diff line change
Expand Up @@ -742,7 +742,11 @@ def get_source_dictionary(*args):
catalog = json.load(handler)

for name, info in catalog.items():
src_dict[name] = skyfield_star_from_ra_dec(info["ra"], info["dec"], name)
src_dict[name] = skyfield_star_from_ra_dec(
info["ra"],
info["dec"],
info["alternate_names"],
)

return src_dict

Expand Down

0 comments on commit dfffbb2

Please sign in to comment.