Change snap to grid function name

This commit is contained in:
Matt Guthaus 2017-01-11 09:23:17 -08:00
parent a31f87bc72
commit d46e416c29
1 changed files with 0 additions and 4 deletions

View File

@ -5,7 +5,6 @@ import globals
OPTS = globals.OPTS OPTS = globals.OPTS
<<<<<<< HEAD
def snap_to_grid(offset): def snap_to_grid(offset):
""" """
Changes the coodrinate to match the grid settings Changes the coodrinate to match the grid settings
@ -26,9 +25,6 @@ def gds_pin_center(gdsPin):
""" """
This returns the center of a pin shape This returns the center of a pin shape
""" """
=======
def gdsPinToOffset(gdsPin):
>>>>>>> master
boundary = gdsPin[2] boundary = gdsPin[2]
return [0.5 * (boundary[0] + boundary[2]), 0.5 * (boundary[1] + boundary[3])] return [0.5 * (boundary[0] + boundary[2]), 0.5 * (boundary[1] + boundary[3])]