You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Discovered on a modified version of the example from #138.
When using the - character in a pin label, and then referencing this pin label in connections, the character is interpreted to be a range of pins, rather than part of the pin label itself.
In the second to last line, GA-NET+ is interpreted as a range from GA to NET+, and an error is thrown.
ValueError: invalid literal for int() with base 10: 'GA'
The example works when replacing all - in pinlabels with _ or other.
The parsing should be modified to check for existing labels first, before calling wv_helper.expand()
OR wv_helper.expand() should be made smarter.
The text was updated successfully, but these errors were encountered:
formatc1702
changed the title
Referencing pin labels with '-' when defining connections
[bug] Referencing pin labels with '-' when defining connections
Jul 30, 2020
Discovered on a modified version of the example from #138.
When using the
-
character in a pin label, and then referencing this pin label inconnections
, the character is interpreted to be a range of pins, rather than part of the pin label itself.In the second to last line,
GA-NET+
is interpreted as a range fromGA
toNET+
, and an error is thrown.The example works when replacing all
-
inpinlabels
with_
or other.The parsing should be modified to check for existing labels first, before calling
wv_helper.expand()
OR
wv_helper.expand()
should be made smarter.The text was updated successfully, but these errors were encountered: