Skip to content

Commit

Permalink
fix temp cell creation
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastian-goeldi committed Nov 21, 2024
1 parent 00310cb commit 6085bdb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/kfactory/utils/fill.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ def __init__(
self.origin = origin
self.filled_cells: list[kdb.Cell] = []
self.temp_ly = kdb.Layout()
self.temp_tc = self.temp_ly.cell(top_cell.name)
self.temp_tc = self.temp_ly.create_cell(top_cell.name)
fc = kcl.layout.cell(fill_cell_index)
self.temp_fc = self.temp_ly.cell(fc.name)
self.temp_fc = self.temp_ly.create_cell(fc.name)
self.temp_fc_ind = self.temp_fc.cell_index()
self.temp_fc.copy_shapes(fc)
self.temp_ly.start_changes()
Expand Down

0 comments on commit 6085bdb

Please sign in to comment.