Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add deprecation warning for missing_axis to NDCube init. #178

Merged
merged 1 commit into from
Jun 19, 2019

Conversation

DanRyanIrish
Copy link
Member

Description

Although PR #157 changed all instances of missing_axis to missing_axes, it caused NDCube.__init__ to crash if users tried to use the old missing_axis kwarg in instantiation. This PR checks if missing_axis has been used in the NDCube.__init__ if missing_axes has not been and issues a deprecation warning.

Fixes #

@ghost
Copy link

ghost commented Jun 4, 2019

Thanks for the pull request @DanRyanIrish! Everything looks great!

@DanRyanIrish DanRyanIrish added this to the 1.2 milestone Jun 4, 2019
@DanRyanIrish DanRyanIrish added the No Changelog Entry Needed Skip all changelog checks. label Jun 4, 2019
@DanRyanIrish DanRyanIrish merged commit ac0116a into sunpy:master Jun 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
No Changelog Entry Needed Skip all changelog checks.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants