-
Notifications
You must be signed in to change notification settings - Fork 74
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
Don't try to update viewer state if it was deleted #2541
Conversation
Add a test? 😉 |
Codecov ReportAll modified and coverable lines are covered by tests ✅
📢 Thoughts on this report? Let us know!. |
No. ...ok, fiiine 😆 |
b09a311
to
933650d
Compare
I'm having trouble writing a test that fails on Edit: wait, I lied, in the notebook I was using real images linked by WCS rather than the numpy arrays. If I load the numpy arrays in the notebook it doesn't error 🤔. |
As discussed offline, going to merge this rather than spending a bunch more time figuring out a test that fails on |
…1-on-v3.7.x Backport PR #2541 on branch v3.7.x (Don't try to update viewer state if it was deleted)
Closes #2521 , turned out to be very simple once I tracked it down. This was previously causing an error if the viewer was deleted, since
None
has nostate
.