-
Notifications
You must be signed in to change notification settings - Fork 79
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
Cubeviz Collapse and Moment Maps Plugins: Spectral bounds do not match Region selection #268
Comments
The same bug exists in the Moment Maps Plugin. |
Hmm... It is working now. Maybe I got into an error state from something else and didn't realize it. |
A different bug--If I try to do a second collapse with the same region, but with resized bounds: change to Region=None, resize the region, then reselect Region 1, the region bounds are correct. The error message is very long and repetitive, but starts and ends with:IndexError Traceback (most recent call last) ~/miniconda3/envs/jdaviz19/lib/python3.8/site-packages/ipywidgets/widgets/widget.py in set_state(self, sync_data) ~/miniconda3/envs/jdaviz19/lib/python3.8/site-packages/glue_jupyter/state_traitlets_helpers.py in update_state_from_json(self, json, widget) ~/miniconda3/envs/jdaviz19/lib/python3.8/site-packages/glue_jupyter/state_traitlets_helpers.py in update_state_from_dict(state, changes) IndexError: list index out of range ..... IndexError Traceback (most recent call last) ~/miniconda3/envs/jdaviz19/lib/python3.8/site-packages/ipywidgets/widgets/widget.py in set_state(self, sync_data) ~/miniconda3/envs/jdaviz19/lib/python3.8/site-packages/glue_jupyter/state_traitlets_helpers.py in update_state_from_json(self, json, widget) ~/miniconda3/envs/jdaviz19/lib/python3.8/site-packages/glue_jupyter/state_traitlets_helpers.py in update_state_from_dict(state, changes) IndexError: list index out of range |
Ah, it is using the same label for subsequent collapses - if desired I can update it to iterate an integer and have the labels be something like That |
@mariobuikhuizen my guess is this last error should be fixed by #456 right? |
Yes, and possibly glue-viz/glue-jupyter#211 is also needed. |
I did manage to reproduce the original issue. |
This has been resolved - both the original issue, and collapsing again with the same label, which now makes clear that you'll be overwriting unless you change the label. |
When spectral region is selected in Collapse Plugin, the upper and lower spectral bounds
should change to match those of the region, but do not. It is not clear in this case which
bounds are being used to compute the collapse.
The text was updated successfully, but these errors were encountered: