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
This gives me the following error:
Traceback (most recent call last):
File "checkGDS.py", line 24, in
cell_points = cell_info.bounding_box()
TypeError: 'numpy.ndarray' object is not callable
Plz suggest how to fix this.
The text was updated successfully, but these errors were encountered:
Hi,
You get this error because "bounding_box" is not a function, its a property of cell_info, in this case a numpy array with the bounding box coordinates. Therefore if you remove the brackets after bounding_box, then it will work. cell_info = core.GdsImport("/home/ubuntu/GDSCAD_PACKAGE/gdsCAD-0.4.5/bitcell_t1.gds") cell_points = cell_info.bounding_box
Hello guys,
I have started using this package recently.
I was trying to get the bounding_box for my layout using following lines of code
cell_info = core.GdsImport("/home/ubuntu/GDSCAD_PACKAGE/gdsCAD-0.4.5/bitcell_t1.gds")
cell_points = cell_info.bounding_box()
This gives me the following error:
Traceback (most recent call last):
File "checkGDS.py", line 24, in
cell_points = cell_info.bounding_box()
TypeError: 'numpy.ndarray' object is not callable
Plz suggest how to fix this.
The text was updated successfully, but these errors were encountered: