Skip to content

Commit

Permalink
raise NotImplementedError for abstract methods defined to return an o…
Browse files Browse the repository at this point in the history
…bject
  • Loading branch information
Christian-B committed Jan 9, 2024
1 parent a2385e3 commit f9303c4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions python_models8/connectors/my_connector.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,29 +48,29 @@ def create_synaptic_block(
self, post_slices: Sequence[Slice], post_vertex_slice: Slice,
synapse_type: int, synapse_info: SynapseInformation) -> NDArray:
# TODO: update accordingly
pass
raise NotImplementedError

@overrides(AbstractConnector.get_weight_variance)
def get_weight_variance(self, weights: Weight_Types,
synapse_info: SynapseInformation) -> float:
# TODO: update accordingly
pass
raise NotImplementedError

@overrides(AbstractConnector.get_weight_maximum)
def get_weight_maximum(self, synapse_info: SynapseInformation) -> float:
# TODO: update accordingly
pass
raise NotImplementedError

@overrides(AbstractConnector.get_n_connections_from_pre_vertex_maximum)
def get_n_connections_from_pre_vertex_maximum(
self, n_post_atoms: int, synapse_info: SynapseInformation,
min_delay: Optional[float] = None,
max_delay: Optional[float] = None) -> int:
# TODO: update accordingly
pass
raise NotImplementedError

@overrides(AbstractConnector.get_n_connections_to_post_vertex_maximum)
def get_n_connections_to_post_vertex_maximum(
self, synapse_info: SynapseInformation) -> int:
# TODO: update accordingly
pass
raise NotImplementedError

0 comments on commit f9303c4

Please sign in to comment.