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