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

Fix 'text' renamed to 'label' #234

Merged
merged 2 commits into from Apr 1, 2019
Merged

Conversation

keflavich
Copy link
Contributor

@keflavich keflavich commented Jan 16, 2019

WIP: do not merge.

In a previous commit, the metadata 'text' was renamed to 'label'. This breaks the one-to-one mapping between ds9 metadata keywords and astropy.regions metadata keywords, and therefore is a questionable decision. We need to determine, going forward, whether to:

  • revert to using 'text' as the text metadata label
  • stick with using 'label' as the text metadata label
  • keep both, so that reg.meta['text'] = reg.meta['label']

Any feedback?

@cdeil cdeil mentioned this pull request Feb 6, 2019
@keflavich keflavich changed the title Fix for issue 233 Fix for issue 233: 'text' renamed to 'label' Mar 26, 2019
@keflavich
Copy link
Contributor Author

This is ready for review / merging once.... actually once nothing happens? I guess we need to merge #251 first, since I based this PR off that one

@keflavich
Copy link
Contributor Author

Assuming this passes, will merge.

@keflavich keflavich merged commit d1a6dd3 into astropy:master Apr 1, 2019
@keflavich keflavich deleted the issue233 branch April 1, 2019 22:39
@cdeil cdeil added this to the 0.4 milestone Jun 17, 2019
@cdeil cdeil changed the title Fix for issue 233: 'text' renamed to 'label' Fix 'text' renamed to 'label' Jun 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants