From 9240ca34f1a43a950203591c39f03ab08f40ddbe Mon Sep 17 00:00:00 2001 From: "Christian Y. Brenninkmeijer" Date: Wed, 18 Oct 2023 12:26:39 +0100 Subject: [PATCH] doc spelling fixes --- spinnman/model/router_diagnostics.py | 1 + spinnman/processes/get_machine_process.py | 6 +++--- spinnman/transceiver/base_transceiver.py | 2 +- spinnman/transceiver/virtual5Transceiver.py | 2 +- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/spinnman/model/router_diagnostics.py b/spinnman/model/router_diagnostics.py index 4cc93e1c6..e264790ea 100644 --- a/spinnman/model/router_diagnostics.py +++ b/spinnman/model/router_diagnostics.py @@ -51,6 +51,7 @@ def __init__(self, control_register, error_status, register_values): self._register_values = register_values + # pylint: disable=wrong-spelling-in-docstring @property def mon(self): """ diff --git a/spinnman/processes/get_machine_process.py b/spinnman/processes/get_machine_process.py index c2cb068b4..b1974fc34 100644 --- a/spinnman/processes/get_machine_process.py +++ b/spinnman/processes/get_machine_process.py @@ -291,7 +291,7 @@ def _fill_machine(self, machine): def _process_ignore_links(self, machine): """ - Processes the collection of ignore links to remove then from chipinfo. + Processes the collection of ignore links to remove then from chip info. Converts any local (x, y, IP address) to global (x, y) @@ -303,7 +303,7 @@ def _process_ignore_links(self, machine): Logs all actions except for ignores with unused IP addresses :param ~spinn_machine.Machine machine: - An empty machine to handle wrap-arounds + An empty machine to handle wrap-around """ for ignore in IgnoreLink.parse_string( get_config_str_or_none("Machine", "down_links")): @@ -351,7 +351,7 @@ def _preprocess_ignore_cores(self, machine): Core numbers <= 0 are assumed to be 0 - physical_id :param ~spinn_machine.Machine machine: - An empty machine to handle wrap-arounds + An empty machine to handle wrap-around """ # Convert by ip to global for ignore in IgnoreCore.parse_string( diff --git a/spinnman/transceiver/base_transceiver.py b/spinnman/transceiver/base_transceiver.py index fbe7a3bb8..437c1ce55 100644 --- a/spinnman/transceiver/base_transceiver.py +++ b/spinnman/transceiver/base_transceiver.py @@ -111,7 +111,7 @@ class BaseTransceiver(ExtendableTransceiver, metaclass=AbstractBase): """ - A base for all the code shared by all Version of the Transciever. + A base for all the code shared by all Version of the Transceiver. """ __slots__ = [ diff --git a/spinnman/transceiver/virtual5Transceiver.py b/spinnman/transceiver/virtual5Transceiver.py index 01d6326ad..ac0361f81 100644 --- a/spinnman/transceiver/virtual5Transceiver.py +++ b/spinnman/transceiver/virtual5Transceiver.py @@ -24,7 +24,7 @@ class Virtual5Transceiver(Version5Transceiver): """ - Overwirtes the standard Version 5 Transceiver + Overwrites the standard Version 5 Transceiver to intercept the sending of messages. This is just enough different to pass know tests.