fix error message

This commit is contained in:
Jan Petykiewicz 2023-02-23 11:26:07 -08:00
parent 23c64b4f63
commit dfd745a76b

View File

@ -480,7 +480,7 @@ def _mlayer2oas(mlayer: layer_t) -> Tuple[int, int]:
else:
data_type = 0
else:
raise PatternError(f'Invalid layer for OASIS: {layer}. Note that OASIS layers cannot be '
raise PatternError(f'Invalid layer for OASIS: {mlayer}. Note that OASIS layers cannot be '
f'strings unless a layer map is provided.')
return layer, data_type