You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "C:\Users\arnoldam\custom_code\affinder\examples\error-example.py", line 8, in <module>
qtwidget, widget = viewer.window.add_plugin_dock_widget(
File "C:\Users\arnoldam\miniconda\envs\napari-main\lib\site-packages\napari\_qt\qt_main_window.py", line 811, in add_plugin_dock_widget
wdg = _instantiate_dock_widget(
File "C:\Users\arnoldam\miniconda\envs\napari-main\lib\site-packages\napari\_qt\qt_main_window.py", line 1465, in _instantiate_dock_widgetreturn wdg_cls(**kwargs)
File "C:\Users\arnoldam\miniconda\envs\napari-main\lib\site-packages\magicgui\type_map\_magicgui.py", line 487, in __call__self._widget_init(widget)
File "C:\Users\arnoldam\custom_code\affinder\src\affinder\affinder.py", line 120, in _on_affinder_main_init
_update_unique_choices(widget.moving, widget.reference.current_choice)
File "C:\Users\arnoldam\custom_code\affinder\src\affinder\affinder.py", line 104, in _update_unique_choices
index = choice_names.index(choice_name)
ValueError: '' is not in list
Process finished with exit code 1
The text was updated successfully, but these errors were encountered:
When opening the "Start affinder" widgets without any active layers in the viewer:
I get this error:
The text was updated successfully, but these errors were encountered: