[Pather] fix trace_into() for straight connections
This commit is contained in:
parent
e071bd89b0
commit
bbe3586ba9
2 changed files with 11 additions and 1 deletions
|
|
@ -535,7 +535,7 @@ class Pather(PortList):
|
|||
if isinstance(portspec, str):
|
||||
portspec = [portspec]
|
||||
pos_keys = {'p', 'x', 'y', 'pos', 'position'}
|
||||
pb = {k: bounds[k] for k in bounds if k in pos_keys}
|
||||
pb = {k: bounds[k] for k in bounds if k in pos_keys and bounds[k] is not None}
|
||||
if pb:
|
||||
if len(portspec) > 1:
|
||||
raise BuildError('Position bounds only allowed with a single port')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue