-
-
Notifications
You must be signed in to change notification settings - Fork 443
Improve error message in combine_widgets
#7194
New issue
8000Have 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
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #7194 +/- ##
==========================================
- Coverage 92.82% 92.73% -0.10%
==========================================
Files 623 623
Lines 56972 56976 +4
==========================================
- Hits 52885 52835 -50
- Misses 4087 4141 +54 ☔ View full report in Codecov by Sentry. |
combine_widgets
combine_widgets
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.
Makes sense! Thanks!
Re-running the failed CI windows PR test, hopefully it was just being flaky earlier |
References and relevant issues
closes #6232
Updates error message to mention
magicgui.widgets.Widget
, which we do also support. Although it seems likemagicgui.widgets.Widget
is a subclass ofQWidget
, magicgui no longer usesQWidget
directly:napari/napari/_qt/utils.py
Lines 227 to 228 in 7099b18
Description
Added test. Although
combine_widgets
is technically innapari/_qt/utils
I've put the test innapari/_qt/widgets/_tests/test_qt_dock_widget.py
as it seems it should sit with the other widget tests.