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

Closing the widget, then opening a new one leads to issues with annotation #30

Closed
jluethi opened this issue Jun 1, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@jluethi
Copy link
Collaborator

jluethi commented Jun 1, 2023

When closing a classifier widget, opening a new image and then loading the first classifier for that second image, the annotation is not working as expected. It seems to overwrite some annotations with something else (e.g. set all annotations to class 1, even if another class was selected).

I wonder whether there's an issue with the first widget still being active in the background and we'd have to deal with closing it better.

In the meantime, the workaround is to close napari whenever the widget is closed. If the second image is opened in a fresh napari session, everything works as expected.

@jluethi jluethi added the bug Something isn't working label Feb 27, 2024
jluethi added a commit that referenced this issue Jul 19, 2024
…ing_issue

Second attempt to fix issue #30: Classifier widget restarts
@jluethi
Copy link
Collaborator Author

jluethi commented Jul 19, 2024

Closed by #46

@jluethi jluethi closed this as completed Jul 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant