From 2ee3c1575974f6e71e0db13bdea316ff24ec0009 Mon Sep 17 00:00:00 2001 From: liadomide Date: Tue, 30 Jul 2024 09:59:52 +0300 Subject: [PATCH] Adjust error message EBR-78 --- tvb_library/tvb/basic/profile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tvb_library/tvb/basic/profile.py b/tvb_library/tvb/basic/profile.py index 17ddf3824f..6a651c66a5 100644 --- a/tvb_library/tvb/basic/profile.py +++ b/tvb_library/tvb/basic/profile.py @@ -99,7 +99,7 @@ def _build_profile_class(cls, selected_profile, in_operation=False, run_init=Tru else: msg = "Invalid profile name %r, expected one of %r" - msg %= (selected_profile, cls.ALL) + msg %= (selected_profile, cls.REGISTERED_PROFILES) raise Exception(msg) @classmethod