Skip to content

Commit

Permalink
fix(tt_um_urish_sram): remove empty cells from GDS
Browse files Browse the repository at this point in the history
They cause the KLayout.StreamOut step to fail
  • Loading branch information
urish committed Nov 5, 2024
1 parent b383dc7 commit 4e68fdd
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions projects/tt_um_urish_sram_test/remove_empty_cells.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# SPDX-License-Identifier: Public Domain
# Remove empty cells from a GDS file.

import pya # KLayout Python API

ly = pya.Layout()
ly.read("tt_um_urish_sram_test.gds")
opt = pya.SaveLayoutOptions()
opt.no_empty_cells = True
ly.write("tt_um_urish_sram_test.gds", opt)
Binary file modified projects/tt_um_urish_sram_test/tt_um_urish_sram_test.gds
Binary file not shown.

0 comments on commit 4e68fdd

Please sign in to comment.