Skip to content

Commit

Permalink
assert (conn.cabinet == conn.frame == 0)
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian-B committed Aug 1, 2023
1 parent 3c7c53b commit a1f067f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spinnman/model/bmp_connection_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ class BMPConnectionData(object):

def __init__(self, cabinet, frame, ip_address, boards, port_num):
# pylint: disable=too-many-arguments
assert (cabinet == frame == 0)
self._cabinet = cabinet
self._frame = frame
self._ip_address = ip_address
Expand Down

0 comments on commit a1f067f

Please sign in to comment.