Skip to content

Fix 7069 - #7104

Merged
bsipocz merged 7 commits into
astropy:masterfrom
eteq:fix-7069
Jan 22, 2018
Merged

bsipocz merged 7 commits into
astropy:masterfrom
eteq:fix-7069

Conversation

@eteq

@eteq eteq commented Jan 20, 2018 •

Copy link
Copy Markdown
Member

This is a patch to allow Sunpy's coordinate machinery to work again following the various v3.0 coordinates-related changes. That is, it fixes #7069.

It also adds the differential_type attribute, which was intended in #6873 but I think we just forgot (checked that out-of-band and @adrn agreed).

I ran the tests against sunpy master and they seemed to be working but I would appreciate it if @Cadair or @nabobalis could double-check my results before we merge this.

@astropy-bot

astropy-bot Bot commented Jan 20, 2018 •

Copy link
Copy Markdown

Hi there @eteq 👋 - thanks for the pull request! I'm just a friendly 🤖 that checks for issues related to the changelog and making sure that this pull request is milestoned and labeled correctly. This is mainly intended for the maintainers, so if you are not a maintainer you can ignore this, and a maintainer will let you know if any action is required on your part 😃.

Everything looks good from my point of view! 👍

If there are any issues with this message, please report them here.

@eteq
eteq requested a review from adrn January 20, 2018 21:14
@eteq eteq added coordinates Affects-dev PRs and issues that do not impact an existing Astropy release labels Jan 20, 2018
@eteq eteq added this to the v3.0.0 milestone Jan 20, 2018
@eteq

eteq commented Jan 21, 2018 •

Copy link
Copy Markdown
Member Author

Note that the test failures are unrelated. If @Cadair or other confirms that this fixes sunpy it's ready for final review.

``set_represenation_cls`` method.
"""
return self.get_representation_cls('s')
@differential_type.setter

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Add a space above and remove a space below

@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 modulo the nit about the docstring.

Comment thread astropy/coordinates/baseframe.py Outdated
"""
The differential used for this frame's data.

This will be a subclass from `~astropy.coordinates.BaseRepresentation`.

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.

subclass of BaseDifferential.

@nabobalis

Copy link
Copy Markdown
Member

@eteq Thanks for the fix!

I just ran it locally and I can not see an issue from our side!

@bsipocz

bsipocz commented Jan 22, 2018

Copy link
Copy Markdown
Member

Wonderful news @nabobalis! I've addressed the minor comments, and now merging this.

@bsipocz
bsipocz merged commit d57f0d1 into astropy:master Jan 22, 2018
@Cadair

Cadair commented Jan 22, 2018

Copy link
Copy Markdown
Member

thanks all!

@eteq

eteq commented Jan 22, 2018

Copy link
Copy Markdown
Member Author

Thanks for finishing this off, @bsipocz !

@eteq
eteq deleted the fix-7069 branch January 22, 2018 18:46
@bsipocz

bsipocz commented Jan 22, 2018

Copy link
Copy Markdown
Member

(and messing it up, fix has been pushed to #7105)

bsipocz added a commit that referenced this pull request Jan 22, 2018
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.

Changes to Coordinates broke SunPy

6 participants