diff --git a/emannotationschemas/__init__.py b/emannotationschemas/__init__.py index 82975d4..5d533ff 100644 --- a/emannotationschemas/__init__.py +++ b/emannotationschemas/__init__.py @@ -1,4 +1,5 @@ from emannotationschemas.schemas.synapse import SynapseSchema +from emannotationschemas.schemas.synapse import NoCenterSynapse from emannotationschemas.schemas.synapse import PlasticSynapse from emannotationschemas.schemas.synapse import ValidSynapse from emannotationschemas.schemas.synapse import BuhmannSynapseSchema @@ -62,6 +63,7 @@ type_mapping = { "synapse": SynapseSchema, "nocleft_synapse": NoCleftSynapse, + "nocenter_synapse": NoCenterSynapse, "fly_synapse": BuhmannSynapseSchema, "fly_nt_synapse": BuhmannEcksteinSynapseSchema, "bouton_shape": BoutonShape, diff --git a/emannotationschemas/schemas/synapse.py b/emannotationschemas/schemas/synapse.py index 47b2e77..743621f 100644 --- a/emannotationschemas/schemas/synapse.py +++ b/emannotationschemas/schemas/synapse.py @@ -50,6 +50,10 @@ class SynapseSchema(BaseSynapseSchema): size = mm.fields.Float(description="size of synapse") +class NoCenterSynapse(BaseSynapseSchema): + size = mm.fields.Float(description="size of synapse") + + class BuhmannSynapseSchema(BaseSynapseSchema): connection_score = mm.fields.Float( description="score assigned by Buhmann et al. 2019"