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

fix: napari init attrib bug, and add unit tests #102

Merged
merged 2 commits into from
Feb 13, 2025
Merged

Conversation

ianohara
Copy link
Collaborator

This makes sure the attribute is always set regardless of the config. It also adds a basic unit test mechanism for the gui / business logic code that we can start using to test all this stuff.

Tested by: Unit tests

@@ -1431,8 +1431,7 @@ def __init__(self, multiPointController):
self.t_inf = []
self.t_over = []

if USE_NAPARI_FOR_MULTIPOINT:
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This is the actual bug. If this was false, the attribute would be left unset.

@ianohara ianohara merged commit b12634c into master Feb 13, 2025
0 of 3 checks passed
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.

1 participant