Skip to content

Commit

Permalink
Changed tests to use allen_mouse_100um instead of 25um, tests using z…
Browse files Browse the repository at this point in the history
…ebra fish atlas marked as slow and local
  • Loading branch information
IgorTatarnikov committed Nov 27, 2023
1 parent 06747b8 commit 9232a4e
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions tests/test_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def check_bounds(bounds, parent_bounds):

@pytest.fixture
def scene():
scene = Scene(inset=False)
scene = Scene(atlas_name="allen_mouse_100um", inset=False)
yield scene
scene.close()
del scene
Expand Down Expand Up @@ -169,14 +169,14 @@ def test_adding_multiple_brain_regions(scene):


def test_brainglobe_atlas():
scene = Scene(atlas_name="mpin_zfish_1um", title="zebrafish")
scene = Scene(atlas_name="example_mouse_100um", title="example_mouse")

scene.render(interactive=False)

assert len(scene.actors) == 2
assert scene.actors[0].name == "root"
assert scene.actors[1].name == "title"
assert scene.atlas.atlas_name == "mpin_zfish_1um"
assert scene.atlas.atlas_name == "example_mouse_100um"


def test_cell_density(scene):
Expand Down Expand Up @@ -312,6 +312,8 @@ def test_slice(scene):
assert ca1_clone.bounds() != ca1.bounds()


@pytest.mark.slow
@pytest.mark.local
def test_user_volumetric_data():
scene = Scene(atlas_name="mpin_zfish_1um")
retrieved_paths = pooch.retrieve(
Expand Down

0 comments on commit 9232a4e

Please sign in to comment.