Skip to content

Commit

Permalink
tests: CH has no annotations, use root instead
Browse files Browse the repository at this point in the history
  • Loading branch information
dbirman committed Aug 16, 2024
1 parent 08c35cb commit 5d31c85
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/atlasapi/test_core_atlas.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,11 +178,11 @@ def test_descendants(atlas):


def test_mask(atlas):
mask = atlas.get_structure_mask('CH')
mask_left = atlas.get_structure_mask('CH', hemisphere=-1)
mask = atlas.get_structure_mask('root')
mask_left = atlas.get_structure_mask('root', hemisphere=-1)

assert np.sum(mask > 0) == 17656111
assert np.sum((mask > 0) & (mask_left > 0)) == 8809100
assert np.sum(mask > 0) == 3589
assert np.sum((mask > 0) & (mask_left > 0)) == 1709


def test_leaf(atlas):
Expand Down

0 comments on commit 5d31c85

Please sign in to comment.