-
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
Switching between data in code causes infinite loop #185
Comments
This is now more acute with #180 merged, as it seems to suffer from the bug. |
In the notebook, with jdaviz version 1.0.4.dev239+ge02daf6 IndexError Traceback (most recent call last) Then if I go in the Data menu and start unclicking data, the ghost is back. Data gets clicked and unclicked in a loop with no manual input. |
Fixes the toggeling checkboxes part of spacetelescope#185
Fixes the error when interacting with the GUI while data is loading in spacetelescope#185.
Fixes the toggeling checkboxes part of spacetelescope#185
Fixes the error when interacting with the GUI while data is loading in spacetelescope#185.
@mariobuikhuizen It turns out that I was a little hasty in merging #427 - I noticed today when testing out something that would be enabled by that PR that it unfortunately got rid of the looping bug by getting rid of something we need. Specifically, adding data to a viewer programmatically via
and
I'm not sure what the best course of action is here in terms of opening a new issue vs reopening this one. |
Looking at #446 I found out that the v-treeview component has a bug (vuetifyjs/vuetify#13181) that causes the removed lines to be problematic. Maybe we can use another component for the list (or tree) of checkboxes? I tested out if another component would fix it in: #450. I chose a toggle button groups as that was the easiest to implement. |
…st_of_checkboxes A better fix for the GUI update loop #185
The following code, which is used to switch from visualizing an old spectrum to a new one, causes an infinite loop:
This bug usually comes after the second round of unit conversion. Example:
The text was updated successfully, but these errors were encountered: