Skip to content

Commit

Permalink
last fixes to external devices to map to new data formats
Browse files Browse the repository at this point in the history
  • Loading branch information
alan-stokes committed Jan 20, 2015
1 parent 38647a8 commit 3feda26
Showing 1 changed file with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,12 @@ def __init__(self, virtual_chip_coords, connected_to_chip_coords,
:raise None: does not raise any known exceptions
"""
AbstractUtilityConstraint.__init__(
self, "AbstractConstrainedVertex Requires a virtual chip in the machine with coords "
"{}:{} connected to the real chip at coords {}:{} on link {}"
.format(virtual_chip_coords[0], virtual_chip_coords[1],
connected_to_chip_coords[0],
connected_to_chip_coords[1],
self, "AbstractConstrainedVertex Requires a virtual chip in the "
"machine with coords {}:{} connected to the real chip at "
"coords {}:{} on link {}"
.format(virtual_chip_coords['x'], virtual_chip_coords['y'],
connected_to_chip_coords['x'],
connected_to_chip_coords['y'],
connected_chip_link_id))
self._virtual_chip_coords = virtual_chip_coords
self._connected_to_chip_coords = connected_to_chip_coords
Expand Down

0 comments on commit 3feda26

Please sign in to comment.