diff --git a/spinn_front_end_common/interface/abstract_spinnaker_base.py b/spinn_front_end_common/interface/abstract_spinnaker_base.py index 4e796063d..1f1100313 100644 --- a/spinn_front_end_common/interface/abstract_spinnaker_base.py +++ b/spinn_front_end_common/interface/abstract_spinnaker_base.py @@ -1058,7 +1058,7 @@ def _report_router_info(self) -> None: with FecTimer("Router info report", TimerWork.REPORT) as timer: if timer.skip_if_cfg_false("Reports", "write_router_info_report"): return - routing_info_report([]) + routing_info_report() @final def _execute_basic_routing_table_generator(self) -> None: diff --git a/spinn_front_end_common/utilities/report_functions/reports.py b/spinn_front_end_common/utilities/report_functions/reports.py index 94b7cc360..3b84fba8c 100644 --- a/spinn_front_end_common/utilities/report_functions/reports.py +++ b/spinn_front_end_common/utilities/report_functions/reports.py @@ -15,7 +15,7 @@ import logging import os import time -from typing import Iterable, Optional, TextIO, Tuple +from typing import Optional, TextIO from spinn_utilities.config_holder import get_report_path from spinn_utilities.ordered_set import OrderedSet @@ -466,14 +466,10 @@ def _sdram_usage_report_per_chip_with_timesteps( pass -def routing_info_report(extra_allocations: Iterable[ - Tuple[ApplicationVertex, str]] = ()) -> None: +def routing_info_report() -> None: """ Generates a report which says which keys is being allocated to each vertex. - - :param extra_allocations: - Extra vertex/partition ID pairs to report on. """ file_name = get_report_path("path_router_info_report") routing_infos = FecDataView.get_routing_infos() @@ -482,7 +478,6 @@ def routing_info_report(extra_allocations: Iterable[ vertex_partitions = OrderedSet( (p.pre_vertex, p.identifier) for p in get_app_partitions()) - vertex_partitions.update(extra_allocations) progress = ProgressBar(len(vertex_partitions), "Generating Routing info report") for pre_vert, part_id in progress.over(vertex_partitions):