Skip to content

Commit

Permalink
Fixed section types (as in MorphIO)
Browse files Browse the repository at this point in the history
  • Loading branch information
chr-pok committed Oct 29, 2024
1 parent fc26f8a commit 2bb410f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tests/unit/test_conn_rewiring.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
from connectome_manipulator import log


# SONATA section type mapping: 0 = soma, 1 = axon, 2 = basal, 3 = apical
SEC_TYPE_MAP = {nm.AXON: 1, nm.BASAL_DENDRITE: 2, nm.APICAL_DENDRITE: 3}
# SONATA section type mapping (as in MorphIO): 1 = soma, 2 = axon, 3 = basal, 4 = apical
SEC_TYPE_MAP = {nm.AXON: 2, nm.BASAL_DENDRITE: 3, nm.APICAL_DENDRITE: 4}


@pytest.fixture
Expand Down
4 changes: 2 additions & 2 deletions tests/unit/test_conn_wiring.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
from connectome_manipulator.connectome_manipulation.converters import EdgeWriter


# SONATA section type mapping: 0 = soma, 1 = axon, 2 = basal, 3 = apical
SEC_TYPE_MAP = {nm.AXON: 1, nm.BASAL_DENDRITE: 2, nm.APICAL_DENDRITE: 3}
# SONATA section type mapping (as in MorphIO): 1 = soma, 2 = axon, 3 = basal, 4 = apical
SEC_TYPE_MAP = {nm.AXON: 2, nm.BASAL_DENDRITE: 3, nm.APICAL_DENDRITE: 4}


@pytest.fixture
Expand Down

0 comments on commit 2bb410f

Please sign in to comment.