Skip to content

Commit

Permalink
remove unconnected mesage as it happens much too often
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian-B committed Oct 8, 2024
1 parent dc81779 commit 744906b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion pacman/model/graphs/abstract_vertex.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,4 +120,4 @@ def send_partition_ids(self) -> List[str]:
:return: A list (typically of length 1) of supported ids
"""
raise NotImplementedError
raise NotImplementedError
6 changes: 1 addition & 5 deletions pacman/model/routing_info/routing_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,7 @@ def get_first_key_from_pre_vertex(
if key in self._info:
return self._info[key].key
try:
if partition_id in vertex.send_partition_ids():
# if kept should be info_once (needs implementing)
logger.info(f"{vertex.label} not connected to send "
f"partition {partition_id}")
else:
if partition_id not in vertex.send_partition_ids():
raise Exception(
f"{vertex.label} does not send partition {partition_id} "
f"as {type(vertex)} send_partition_id returns "
Expand Down

0 comments on commit 744906b

Please sign in to comment.