Skip to content

Follow-up to #11090 to address #11096 - #11101

Merged
mhvk merged 3 commits into
astropy:masterfrom
adrn:coordinates/fix-cls-name
Nov 29, 2020
Merged

mhvk merged 3 commits into
astropy:masterfrom
adrn:coordinates/fix-cls-name

Conversation

@adrn

@adrn adrn commented Nov 28, 2020

Copy link
Copy Markdown
Member

Soon after merging #11090, @ayshih noticed that sunpy tests were failing, as reported in #11096, because the new BaseCoordinateFrame.__init_subclass__ expected any coordinate frame parent class to have a .name attribute. This is a simple follow-up to use getattr() instead.

@adrn
adrn requested a review from mhvk November 28, 2020 19:04
@adrn adrn added this to the v4.3 milestone Nov 28, 2020
@adrn

adrn commented Nov 28, 2020

Copy link
Copy Markdown
Member Author

This is a follow-up bug fix to #11090, so I think it doesn't need a changelog entry?

@mhvk mhvk added the Affects-dev PRs and issues that do not impact an existing Astropy release label Nov 28, 2020

@mhvk mhvk left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, but perhaps best if @ayshih checks that it solves the problem.

@ayshih

ayshih commented Nov 29, 2020

Copy link
Copy Markdown
Contributor

👍 Yup, this fixes the issue

@mhvk

mhvk commented Nov 29, 2020

Copy link
Copy Markdown
Contributor

Great, will merge now! Thanks, @adrn and @ayshih!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Affects-dev PRs and issues that do not impact an existing Astropy release coordinates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants