Skip to content

Commit

Permalink
fix test for load_annotation_file example
Browse files Browse the repository at this point in the history
  • Loading branch information
hotzenklotz committed Sep 19, 2023
1 parent 7685a97 commit c6c48d9
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions webknossos/tests/test_examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -340,10 +340,11 @@ def test_skeleton_path_length() -> None:


def test_load_annotation_file() -> None:
with tmp_cwd():
from examples.load_annotation_from_file import load_annotation
from examples.load_annotation_from_file import load_annotation

annotation_file = Path(
"example_files/l4dense_motta_et_al_demo_v2__explorational.zip"
)
annotation_file = Path(
"./webknossos/tests/example_files/l4dense_motta_et_al_demo_v2__explorational.zip"
).resolve()

with tmp_cwd():
load_annotation(annotation_file)

0 comments on commit c6c48d9

Please sign in to comment.