From eeac7dd44812306d6221cc20ae6764d303483c61 Mon Sep 17 00:00:00 2001 From: David Huggins-Daines Date: Mon, 18 Jul 2022 15:10:51 -0400 Subject: [PATCH] fix: tell user to rerun g2p update (they can) --- g2p/exceptions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/g2p/exceptions.py b/g2p/exceptions.py index 32b8dca8..315fd99a 100644 --- a/g2p/exceptions.py +++ b/g2p/exceptions.py @@ -77,7 +77,7 @@ def __str__(self): "There is something wrong with your mapping. \n" "You might be missing some keywords or \n" 'Not all of the input and output pairs in your mapping have values for "in" and "out"\n' - 'You may need to revert g2p/mappings/langs.pkl after resolving this problem\n' + 'You may need to rerun "g2p update" after resolving this problem.\n' "Please refer to the documentation and fix your mapping." + self.message ) )