Only add boundary for if there's a DRC stdc layer

This commit is contained in:
Matthew Guthaus 2019-12-06 02:17:58 +00:00
parent d2cbc46527
commit 5af22b79e2
1 changed files with 0 additions and 6 deletions

View File

@ -514,12 +514,6 @@ class layout():
# If there is a boundary layer, and we didn't create one, add one.
if "stdc" in techlayer.keys():
boundary_layer = "stdc"
elif "boundary" in techlayer.keys():
boundary_layer = "boundary"
else:
boundary_layer = None
if boundary_layer:
boundary = [self.find_lowest_coords(), self.find_highest_coords()]
height = boundary[1][1] - boundary[0][1]
width = boundary[1][0] - boundary[0][0]