fix incorrect variable name

This commit is contained in:
Jan Petykiewicz 2020-09-09 19:41:06 -07:00
parent e330c34a0c
commit ea21353d2e

View File

@ -293,7 +293,7 @@ def _mlayer2gds(mlayer: layer_t) -> Tuple[int, int]:
else: else:
data_type = 0 data_type = 0
else: else:
raise PatternError(f'Invalid layer for gdsii: {layer}. Note that gdsii layers cannot be strings.') raise PatternError(f'Invalid layer for gdsii: {mlayer}. Note that gdsii layers cannot be strings.')
return layer, data_type return layer, data_type