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

Added new functions to unregister readers, writers, and identifiers #6217

Merged
merged 2 commits into from
Jun 16, 2017

Conversation

astrofrog
Copy link
Member

@astrofrog astrofrog commented Jun 15, 2017

@taldcroft @MSeifert04 - I think you contributed the most edits to this file, so tagging you so you can review this. I'd like to get this in 2.0 if it's uncontroversial.

CHANGES.rst Outdated
@@ -56,6 +56,8 @@ New Features

- ``astropy.io.registry``

- New functions to unregister readers, writers, and identifiers. [#6216]
Copy link
Member

Choose a reason for hiding this comment

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

Off by one!

Do we need What's New for this?

Copy link
Member Author

Choose a reason for hiding this comment

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

Oops: astropy/astropy-tools@127fffc 😊

Don't think we need a what's new, I don't think this is really exciting enough to qualify.

Copy link
Member

@eteq eteq left a comment

Choose a reason for hiding this comment

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

LGTM except for one minor thing. I'll fix that online and then merge.

_identifiers.pop((data_format, data_class))
else:
raise IORegistryError("No identifier defined for format '{0}' and class '{1}'"
''.format(data_format, data_class.__name__))
Copy link
Member

Choose a reason for hiding this comment

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

(nitpick) >80 chars

Copy link
Member

Choose a reason for hiding this comment

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

I'll just fix this directly and merge.

[ci skip]
@eteq eteq merged commit 449b118 into astropy:master Jun 16, 2017
@astrofrog astrofrog deleted the io-unregister branch November 14, 2018 15:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants