Skip to content

Commit

Permalink
Stop infinite loop
Browse files Browse the repository at this point in the history
  • Loading branch information
paddyroddy committed Jul 27, 2023
1 parent f04c748 commit 743750a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions btrack/napari/widgets/_general.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def create_update_method_widgets() -> dict[str, QtWidgets.QWidget]:
"APPROXIMATE: approximate the Bayesian belief matrix. Useful for datasets with "
"more than 1000 particles per frame."
)
update_method_widgets = {"update_method": ("update method", update_method)}
widgets = {"update_method": ("update method", update_method)}

max_search_radius = QtWidgets.QSPinBox()
max_search_radius.setRange(0, 1000)
Expand All @@ -52,12 +52,12 @@ def create_update_method_widgets() -> dict[str, QtWidgets.QWidget]:
"method is 'APPROXIMATE'"
)
max_search_radius.setWrapping(w=True)
update_method_widgets["max_search_radius"] = (
widgets["max_search_radius"] = (
"search radius",
max_search_radius,
)

return create_update_method_widgets()
return widgets


def create_control_widgets() -> dict[str, QtWidgets.QWidget]:
Expand Down

0 comments on commit 743750a

Please sign in to comment.