Skip to content

Commit

Permalink
Merge pull request #38 from funkelab/bugfixes
Browse files Browse the repository at this point in the history
Bugfixes: param updating and runs list selection
  • Loading branch information
cmalinmayor committed May 13, 2024
2 parents eabedcf + 8ad52a1 commit 4c7410f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/motile_plugin/widgets/motile_widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ def edit_run(self, run: MotileRun | None):
self.edit_run_widget.show()
if run:
self.edit_run_widget.new_run(run)
self.run_list_widget.runs_list.clearSelection()
self.remove_napari_layers()

def _generate_tracks(self, run: MotileRun) -> None:
Expand Down
1 change: 1 addition & 0 deletions src/motile_plugin/widgets/param_values.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ def __init__(self, dtype: type, negative: bool = True) -> None:
max_val = 10000
min_val = -1 * max_val if negative else 0
self.setRange(min_val, max_val)
super().valueChanged.connect(self.valueChanged.emit)

def update_value(self, value: int | float | None) -> None:
if value is not None:
Expand Down

0 comments on commit 4c7410f

Please sign in to comment.