Skip to content

Commit

Permalink
use property
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian-B committed Nov 2, 2023
1 parent 69430fe commit 16bd012
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spinn_front_end_common/utility_models/live_packet_gather.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ def create_sys_vertices(self, system_placements: Placements):
machine = FecDataView.get_machine()
for eth in machine.ethernet_connected_chips:
lpg_vtx = LivePacketGatherMachineVertex(
self._governed_app_vertex.params, self._governed_app_vertex)
self._governed_app_vertex.remember_machine_vertex(lpg_vtx)
self.governed_app_vertex.params, self.governed_app_vertex)
self.governed_app_vertex.remember_machine_vertex(lpg_vtx)
p = pick_core_for_system_placement(system_placements, eth)
system_placements.add_placement(
Placement(lpg_vtx, eth.x, eth.y, p))
Expand All @@ -81,7 +81,7 @@ def get_out_going_slices(self):
@overrides(AbstractSplitterCommon.get_in_coming_vertices)
def get_in_coming_vertices(self, partition_id: str) -> Sequence[
LivePacketGatherMachineVertex]:
return tuple(self._governed_app_vertex.machine_vertices)
return tuple(self.governed_app_vertex.machine_vertices)

@overrides(AbstractSplitterCommon.get_source_specific_in_coming_vertices)
def get_source_specific_in_coming_vertices(
Expand Down

0 comments on commit 16bd012

Please sign in to comment.