From e10565e62493770b0d7540c7929badd3f53a036c Mon Sep 17 00:00:00 2001 From: Jan Petykiewicz Date: Wed, 9 Sep 2020 19:41:06 -0700 Subject: [PATCH] fix incorrect variable name --- masque/file/gdsii.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/masque/file/gdsii.py b/masque/file/gdsii.py index b87271c..dcb9649 100644 --- a/masque/file/gdsii.py +++ b/masque/file/gdsii.py @@ -293,7 +293,7 @@ def _mlayer2gds(mlayer: layer_t) -> Tuple[int, int]: else: data_type = 0 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