iblatlas.tests.test_connectivity

Classes

TestMesoscale

class TestMesoscale(methodName='runTest')[source]

Bases: TestCase

test_load()[source]

Tests the mechanics of load() by faking a small connectivity table.

test_load_hierarchy()[source]

Tests the mechanics of load_hierarchy() by faking a small hierarchy table.

test_sync_downloads_when_version_missing_or_old()[source]

_sync should (re)download both files when there is no version flag, or when the flag matches a known-old version, and should leave an up-to-date cache alone.

test_reaggregation_example()[source]

The docstring’s reaggregation recipe: connection_strength sums exactly across a parcellation that partitions source/target ids with no overlap or gaps.