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 type issue in plot options select_all #3366

Merged
merged 3 commits into from
Dec 19, 2024

Conversation

cshanahan1
Copy link
Contributor

@cshanahan1 cshanahan1 commented Dec 18, 2024

Fix a bug that came up when trying to select all layers in plot options when data is float32. The solution is to use the logic in on_glue_value_changed to handle updating mixed state, which takes care of the type issue.

(Need this fix for AAS demo notebook)

@github-actions github-actions bot added the plugin Label for plugins common to multiple configurations label Dec 18, 2024
@cshanahan1 cshanahan1 changed the title Fix type Fix type issue in plot options select_all Dec 18, 2024
@cshanahan1 cshanahan1 added this to the 4.1 milestone Dec 18, 2024
@cshanahan1 cshanahan1 added the no-changelog-entry-needed changelog bot directive label Dec 18, 2024
Copy link
Contributor

@pllim pllim left a comment

Choose a reason for hiding this comment

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

Needs a change log since it is bug fix?

@pllim pllim added bug Something isn't working and removed no-changelog-entry-needed changelog bot directive labels Dec 18, 2024
Copy link

codecov bot commented Dec 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.76%. Comparing base (82088b7) to head (1232043).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3366      +/-   ##
==========================================
- Coverage   88.77%   88.76%   -0.01%     
==========================================
  Files         125      125              
  Lines       19235    19246      +11     
==========================================
+ Hits        17075    17083       +8     
- Misses       2160     2163       +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@cshanahan1 cshanahan1 requested a review from pllim December 19, 2024 19:17
Copy link
Contributor

@pllim pllim left a comment

Choose a reason for hiding this comment

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

Thanks!

@cshanahan1 cshanahan1 enabled auto-merge (squash) December 19, 2024 19:32
@cshanahan1 cshanahan1 merged commit 877f5ad into spacetelescope:main Dec 19, 2024
16 of 17 checks passed
@cshanahan1 cshanahan1 deleted the fix_type branch December 19, 2024 20:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working plugin Label for plugins common to multiple configurations
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants