We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ERROR [rebuild]: ERROR in building component name=line, error='NoneType' object has no attribute 'coords'
Create mixedroute with anchors and between anchors and connect it to lineetee second_end
LineTee1 = LineTee( design, name='Lt1', options={'pos_x': '500.0um'},component_template={'falseparam1': {'falseparam2': 'false-param', 'falseparam3': 'false-param'}}, )LineTee1 = LineTee( design, name='Lt2', options={'pos_x': '-500.0um',},component_template={'falseparam1': {'falseparam2': 'false-param', 'falseparam3': 'false-param'}}, )LineTee1 = LineTee( design, name='Lt3', options={'orientation': '90.0', 'pos_x': '-2500.0um'},component_template={'falseparam1': {'falseparam2': 'false-param', 'falseparam3': 'false-param'}}, )LineTee1 = LineTee( design, name='Lt4', options={'orientation': '270.0', 'pos_x': '2500.0um'},component_template={'falseparam1': {'falseparam2': 'false-param', 'falseparam3': 'false-param'}}, )from qiskit_metal.qlibrary.tlines.mixed_path import RouteMixed import numpy as np from collections import OrderedDict ops=dict(fillet='90um')anchors = OrderedDict() anchors[0] = np.array([1.5, 1.]) anchors[1] = np.array([0, 2]) anchors[2] = np.array([3., 3])between_anchors = OrderedDict() # S, M, PF between_anchors[0] = "S" between_anchors[1] = "M" between_anchors[2] = "S" between_anchors[3] = "S"optionsR = {'pin_inputs': { 'start_pin': {'component': 'Lt2', 'pin': 'second_end'}, 'end_pin': {'component': 'Lt3', 'pin': 'second_end'} }, 'total_length': '2mm', 'chip': 'main', 'layer': '1', 'trace_width': 'cpw_width', 'step_size': '0.25mm', 'anchors': anchors, 'between_anchors': between_anchors, 'advanced': {'avoid_collision': 'true'}, 'meander': { 'spacing': '200um', 'asymmetry': '0um' }, 'snap': 'true', 'lead': { 'start_straight': '0.3mm', 'end_straight': '0.3mm', }, }qa = RouteMixed(design, 'line', optionsR)gui.rebuild() gui.autoscale()
It should create route
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Information
What is the current behavior?
ERROR [rebuild]: ERROR in building component name=line, error='NoneType' object has no attribute 'coords'
Steps to reproduce the problem
Create mixedroute with anchors and between anchors and connect it to lineetee second_end
LineTee1 = LineTee(
design,
name='Lt1',
options={'pos_x': '500.0um'},component_template={'falseparam1': {'falseparam2': 'false-param', 'falseparam3': 'false-param'}},
)LineTee1 = LineTee(
design,
name='Lt2',
options={'pos_x': '-500.0um',},component_template={'falseparam1': {'falseparam2': 'false-param', 'falseparam3': 'false-param'}},
)LineTee1 = LineTee(
design,
name='Lt3',
options={'orientation': '90.0',
'pos_x': '-2500.0um'},component_template={'falseparam1': {'falseparam2': 'false-param', 'falseparam3': 'false-param'}},
)LineTee1 = LineTee(
design,
name='Lt4',
options={'orientation': '270.0',
'pos_x': '2500.0um'},component_template={'falseparam1': {'falseparam2': 'false-param', 'falseparam3': 'false-param'}},
)from qiskit_metal.qlibrary.tlines.mixed_path import RouteMixed
import numpy as np
from collections import OrderedDict
ops=dict(fillet='90um')anchors = OrderedDict()
anchors[0] = np.array([1.5, 1.])
anchors[1] = np.array([0, 2])
anchors[2] = np.array([3., 3])between_anchors = OrderedDict() # S, M, PF
between_anchors[0] = "S"
between_anchors[1] = "M"
between_anchors[2] = "S"
between_anchors[3] = "S"optionsR = {'pin_inputs': {
'start_pin': {'component': 'Lt2', 'pin': 'second_end'},
'end_pin': {'component': 'Lt3', 'pin': 'second_end'}
},
'total_length': '2mm',
'chip': 'main',
'layer': '1',
'trace_width': 'cpw_width',
'step_size': '0.25mm',
'anchors': anchors,
'between_anchors': between_anchors,
'advanced': {'avoid_collision': 'true'},
'meander': {
'spacing': '200um',
'asymmetry': '0um'
},
'snap': 'true',
'lead': {
'start_straight': '0.3mm',
'end_straight': '0.3mm',
},
}qa = RouteMixed(design, 'line', optionsR)gui.rebuild()
gui.autoscale()
What is the expected behavior?
It should create route
Suggested solutions
The text was updated successfully, but these errors were encountered: