From 1a9a04c9dc71e4ae625dac468be75fad5649a6ac Mon Sep 17 00:00:00 2001 From: Andrew Rowley Date: Wed, 18 Oct 2023 13:48:37 +0100 Subject: [PATCH 1/2] Fix missed change --- spinn_front_end_common/interface/abstract_spinnaker_base.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spinn_front_end_common/interface/abstract_spinnaker_base.py b/spinn_front_end_common/interface/abstract_spinnaker_base.py index 86bfb440f3..3bdd833900 100644 --- a/spinn_front_end_common/interface/abstract_spinnaker_base.py +++ b/spinn_front_end_common/interface/abstract_spinnaker_base.py @@ -2289,8 +2289,8 @@ def __recover_from_error(self, exception): # Find the cores that are not in RTE i.e. that can still be read non_rte_cores = [ (x, y, p) - for (x, y, p), core_info in unsuccessful_cores.items() - if (core_info.state != CPUState.RUN_TIME_EXCEPTION and + for (x, y, p), core_info in unsuccessful_cores + if (core_info.state != CPUState.RUN_TIME_EXCEPTION and core_info.state != CPUState.WATCHDOG)] # If there are any cores that are not in RTE, extract data from them From 20a4403085f0f63d5e9e27e90f3d73f0bf69e450 Mon Sep 17 00:00:00 2001 From: Andrew Rowley Date: Wed, 18 Oct 2023 13:59:18 +0100 Subject: [PATCH 2/2] Fix alignment --- spinn_front_end_common/interface/abstract_spinnaker_base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spinn_front_end_common/interface/abstract_spinnaker_base.py b/spinn_front_end_common/interface/abstract_spinnaker_base.py index 3bdd833900..c3667ecd29 100644 --- a/spinn_front_end_common/interface/abstract_spinnaker_base.py +++ b/spinn_front_end_common/interface/abstract_spinnaker_base.py @@ -2290,7 +2290,7 @@ def __recover_from_error(self, exception): non_rte_cores = [ (x, y, p) for (x, y, p), core_info in unsuccessful_cores - if (core_info.state != CPUState.RUN_TIME_EXCEPTION and + if (core_info.state != CPUState.RUN_TIME_EXCEPTION and core_info.state != CPUState.WATCHDOG)] # If there are any cores that are not in RTE, extract data from them