Closed paddyroddy closed 11 months ago
Okay, looks like it might only be one thing missing. Editing issue now.
The widget with the label distance bin size
is stored in the attribute BtrackWidget.dist_thresh
:
The attribute name is the same used in HypothesisModel
, whereas the label is based on the description of the attribute:
Similarly for time bin size
:
dist_thresh
and time_thresh
are both listed in btrack.napari.constants.HYPOTHESIS_THRESHOLDS
, and so their values are updated when looping over this list
But you're right that relax
is missing in update_config_from_widgets
! It used to be part of btrack.napari.constants.HYPOTHESIS_THRESHOLDS
but was removed because its widget has a boolean value rather than float and it can no longer be updated when looping over them (since switching away from magicgui
). I updated update_widgets_from_config
to reflect this, but clearly forgot to update update_config_from_widgets
- well spotted!
Fixed in #378
Optimiser tab:![image](https://github.com/quantumjot/btrack/assets/15052188/c00edc2c-242d-47a4-a84b-6ba163e95cda)
In
update_config_from_widgets
: seems to be missingrelax thresholds
https://github.com/quantumjot/btrack/blob/b088dbf5c75b85e1acd7baa246fac971ccdbf7e5/btrack/napari/sync.py#L62-L66Am I missing something here?