allow using a string for the layer

Can't use it in gdsii, but no reason to forbit it in masque...
This commit is contained in:
Jan Petykiewicz 2020-05-17 14:11:47 -07:00
commit 8302286a7a
4 changed files with 10 additions and 6 deletions

View file

@ -174,7 +174,7 @@ class Shape(metaclass=ABCMeta):
@property
def layer(self) -> layer_t:
"""
Layer number (int or tuple of ints)
Layer number or name (int, tuple of ints, or string)
"""
return self._layer