From dfd745a76b4c5f0c7f5777089c1bab1e5a620aed Mon Sep 17 00:00:00 2001 From: Jan Petykiewicz Date: Thu, 23 Feb 2023 11:26:07 -0800 Subject: [PATCH] fix error message --- masque/file/oasis.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/masque/file/oasis.py b/masque/file/oasis.py index d0955b5..392c338 100644 --- a/masque/file/oasis.py +++ b/masque/file/oasis.py @@ -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