Skip to content

Commit

Permalink
Avoid napari 0.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
gselzer committed Aug 12, 2024
1 parent ff1a9f3 commit 68fd93e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion dev-environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ dependencies:
- jpype1 >= 1.4.1
- labeling >= 0.1.12
- magicgui >= 0.5.1
- napari >= 0.4.17
- napari >= 0.4.17, <0.5
- numpy
- openjdk=8
- pandas
Expand Down
2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ dependencies:
- jpype1 >= 1.4.1
- labeling >= 0.1.12
- magicgui >= 0.5.1
- napari >= 0.4.17
- napari >= 0.4.17, <0.5
- numpy
- openjdk=8
- pandas
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ dependencies = [
"jpype1 >= 1.4.1",
"labeling >= 0.1.12",
"magicgui >= 0.5.1",
"napari >= 0.4.17",
"napari >= 0.4.17, <0.5",
"numpy",
"pandas",
"pyimagej >= 1.4.1",
Expand Down
4 changes: 2 additions & 2 deletions tests/widgets/test_napari_imagej.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ def find_keybind(kb: str) -> bool:
return False

viewer: Viewer = make_napari_viewer()
assert not find_keybind("Ctrl+L")
assert not find_keybind("Control-L")
NapariImageJWidget(viewer)
assert find_keybind("Ctrl+L")
assert find_keybind("Control-L")
# TODO: I can't seem to figure out how to assert that pressing 'L'
# sets the focus of the search bar.
# Typing viewer.keymap['L'](viewer) does nothing. :(
Expand Down

0 comments on commit 68fd93e

Please sign in to comment.