stevengiacalone / triceratops

Tool for Rating Interesting Candidate Exoplanets and Reliability Analysis of Transits Originating from Proximate Stars
https://triceratops.readthedocs.io
MIT License
20 stars 7 forks source link

Fix add_star() regression #22

Closed orionlee closed 1 year ago

orionlee commented 1 year ago
  1. Fixed a regression in target.add_star()
  2. Also tweaked pandas call to avoid Deprecation Warning by replacing df.append() with pd.cocnat() . pd.cocnat() has been available since pandas v1.0 so the change should be safe.

It might be wise to bump minimum version of pandas to 1.0 as well:

https://github.com/stevengiacalone/triceratops/blob/7d6d2baf0b39f0f7439d52fefdc99652f2040c00/setup.py#L24