fix some type-related issues

This commit is contained in:
Jan Petykiewicz 2023-01-18 17:15:14 -08:00 committed by jan
commit f7a2edfe23
4 changed files with 7 additions and 6 deletions

View file

@ -457,7 +457,7 @@ def _shapes_to_elements(
layer=(layer, data_type),
xy=xy,
path_type=path_type,
width=width,
width=int(width),
extension=extension,
properties=properties,
)

View file

@ -138,7 +138,7 @@ def dose2dtype(
library = WrapROLibrary(library)
# Get a table of (id(pat), written_dose) for each pattern and subpattern
sd_table = make_dose_table(library.find_topcells(), library)
sd_table = make_dose_table(library.find_toplevel(), library)
# Figure out all the unique doses necessary to write this pattern
# This means going through each row in sd_table and adding the dose values needed to write