Skip to content

Conversation

bmorris3
Copy link
Contributor

@pmaxted reported in #567 that when a (list of) FixedTarget is passed to methods that calculate lunar coordinates, the calls to get_body introduced in #558 must convert those FixedTargets to SkyCoords before computing separations. This oversight wasn't noticed in the tests because the relevant tests rely on SkyCoords.

This PR calls get_skycoords before passing the targets to get_body.

Fixes #567

@bmorris3 bmorris3 marked this pull request as ready for review September 20, 2023 14:50
@bmorris3 bmorris3 added this to the 0.9.1 milestone Sep 20, 2023
@bmorris3 bmorris3 merged commit 258a88c into astropy:main Sep 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

"Tried to do is_equivalent_frame on something that isn't frame-like" error from MoonSeparationConstraint().compute_constraint()

1 participant