-
Notifications
You must be signed in to change notification settings - Fork 34
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
Deprecate ginga_plugins. #413
Deprecate ginga_plugins. #413
Conversation
Thank you for your contribution to sbpy, an Astropy affiliated package! 🌌 This checklist is meant to remind the package maintainers who will review this pull request of some common things to look for.
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #413 +/- ##
==========================================
- Coverage 83.19% 83.15% -0.05%
==========================================
Files 88 88
Lines 8183 8191 +8
==========================================
+ Hits 6808 6811 +3
- Misses 1375 1380 +5 ☔ View full report in Codecov by Sentry. |
5 lines in CometaryEnhancements.py are marked as not being covered by tests (with the CodeCov report on this page as well as the CodeCov messages on the code diffs page actually consistent this time). Is this a problem or no? |
Yeah, those lines and that function call can't be tested without running the GUI with ginga. Or, at least, I don't know how to do it. I checked ginga's own continuous integration tests and its coverage and nothing in the reference viewer or its plugins are tested at all. To manually test them, you can pip install this PR and ginga, run ginga, open a file, and start up CometaryEnhancements in the plugins menu. There should be a text box showing the deprecation message. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, just getting to this now. I installed ginga, opened it, opened a file, and don't even see CometaryEnhancements in the plugin menu to check for a deprecation message, but if that's the case, it seems that no one should encounter this anyways, so I'm going to call it good.
If you open ginga with
|
Deprecate the
CometaryEnhancements
class and theginga_plugins
submodule itself. Also, add a deprecation message to theCometaryEnhancements
gui, in case users are not watching the console. There is no documentation to edit, as this is a sort of pre-release feature that was never formally documented.Instead use the sbpy-ginga module: https://github.com/NASA-Planetary-Science/sbpy-ginga