Skip to content

Commit fa54459

Browse files
committed
Fix gds not rendering properly for large structures with fillet
1 parent bbc7d29 commit fa54459

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

qiskit_metal/renderers/renderer_gds/gds_renderer.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1337,7 +1337,7 @@ def _cheese_based_on_shape(
13371337
a_cheese = None
13381338

13391339
if a_cheese is not None:
1340-
dummy_a_lib = a_cheese.apply_cheesing()
1340+
_dummy_a_lib = a_cheese.apply_cheesing()
13411341

13421342
def _populate_no_cheese(self):
13431343
"""Iterate through every chip and layer. If options choose to have
@@ -2356,8 +2356,7 @@ class to a series of GDSII format on the input pd.Series.
23562356

23572357
if "fillet" in qgeometry_element:
23582358
if (math.isnan(qgeometry_element.fillet) or
2359-
qgeometry_element.fillet <= 0 or
2360-
qgeometry_element.fillet < qgeometry_element.width):
2359+
qgeometry_element.fillet <= 0):
23612360
to_return = gdstk.FlexPath(
23622361
list(geom.coords),
23632362
use_width,

0 commit comments

Comments
 (0)