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

enable subset freezing #45

Merged
merged 1 commit into from
Sep 22, 2023
Merged

Conversation

kecnry
Copy link
Member

@kecnry kecnry commented Sep 5, 2023

This enables support from spacetelescope/jdaviz#2421 spacetelescope/jdaviz#2462 into lcviz's subset plugin.

Screen.Recording.2023-09-05.at.11.31.18.AM.mov

This would require that PR to be merged (along with the necessary fixes for get_subsets and the subset plugin), but should not require it to be released in order to move forward with this PR.

This can be merged without jdaviz 3.7 released, but will require testing with jdaviz after that PR is merged (lcviz should work with and without, but this feature will only be shown if you have jdaviz with the upstream PR).

@codecov
Copy link

codecov bot commented Sep 5, 2023

Codecov Report

Patch coverage is 100.00% of modified lines.

Files Changed Coverage
lcviz/plugins/subset_plugin/subset_plugin.py 100.00%

📢 Thoughts on this report? Let us know!.

@kecnry kecnry force-pushed the subset_freeze branch 2 times, most recently from f935c68 to cd45c50 Compare September 18, 2023 14:09
@kecnry kecnry added waiting-on-jdaviz-release PR requires a release from jdaviz before updating the pin and removed waiting-on-jdaviz-release PR requires a release from jdaviz before updating the pin labels Sep 19, 2023
@kecnry kecnry marked this pull request as ready for review September 19, 2023 13:18
@kecnry kecnry requested a review from bmorris3 September 19, 2023 13:18
* requires upstream PR
Copy link
Contributor

@bmorris3 bmorris3 left a comment

Choose a reason for hiding this comment

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

Neat! This is handy. For example, you can wrap at 0.5, selecting a subset bracketing zero, freeze the subset, and re-wrap at 1:

Screen Shot 2023-09-22 at 13 42 22

@bmorris3 bmorris3 merged commit ad40f2a into spacetelescope:main Sep 22, 2023
8 of 9 checks passed
@kecnry kecnry deleted the subset_freeze branch September 22, 2023 17:46
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.

2 participants