Skip to content

Commit

Permalink
Fix tests, drop Surface hack
Browse files Browse the repository at this point in the history
  • Loading branch information
psobolewskiPhD committed Nov 26, 2023
1 parent e891efe commit 86acb74
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions napari_animation/_tests/test_animation.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
assert_layer_state_equal,
layer_test_data,
)
from napari.layers import Surface

from napari_animation import Animation, ViewerState
from napari_animation.utils import make_thumbnail
Expand Down Expand Up @@ -161,10 +160,6 @@ def test_attributes_for_all_layer_types(
layer_state.pop("metadata")
layer_state.pop("data", None)

if layer_class == Surface:
layer_state["normals"]["face"].pop("mode", None)
layer_state["normals"]["vertex"].pop("mode", None)

layer_animation.capture_keyframe()
# get the layer attributes captured to viewer_state
animation_state = layer_animation.key_frames[0].viewer_state.layers[
Expand Down

0 comments on commit 86acb74

Please sign in to comment.