fix error message

This commit is contained in:
Jan Petykiewicz 2023-02-23 11:26:07 -08:00 committed by jan
parent 9d42df831e
commit ada8c591a0

View File

@ -480,7 +480,7 @@ def _mlayer2oas(mlayer: layer_t) -> Tuple[int, int]:
else: else:
data_type = 0 data_type = 0
else: 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.') f'strings unless a layer map is provided.')
return layer, data_type return layer, data_type