From f07151c9bb43f52ea3c124b1acbc2f6c1d6036b5 Mon Sep 17 00:00:00 2001 From: "Christian Y. Brenninkmeijer" Date: Tue, 2 Jan 2024 15:57:38 +0000 Subject: [PATCH] add get_delay_minimum --- python_models8/connectors/my_connector.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/python_models8/connectors/my_connector.py b/python_models8/connectors/my_connector.py index 9149239..5396954 100644 --- a/python_models8/connectors/my_connector.py +++ b/python_models8/connectors/my_connector.py @@ -28,8 +28,14 @@ def __init__(self, weights=0.0, delays=1, allow_self_connections=True @overrides(AbstractConnector.get_delay_maximum) def get_delay_maximum(self, synapse_info): + # TODO call self._get_delay_maximum if needed return 16 + @overrides(AbstractConnector.get_delay_minimum) + def get_delay_minimum(self, synapse_info): + # TODO call self._get_delay_minimum if needed + return 1 + @overrides(AbstractGenerateConnectorOnHost.create_synaptic_block) def create_synaptic_block( self, post_slices, post_vertex_slice, synapse_type, synapse_info):