From b3c98063da6d1355bef0a8fe48623208fa944be3 Mon Sep 17 00:00:00 2001 From: AlejandroCN7 Date: Mon, 23 Oct 2023 12:21:05 +0000 Subject: [PATCH] Fix warning action when it isn't matching with action space (now dont raise error) --- sinergym/envs/eplus_env.py | 1 - 1 file changed, 1 deletion(-) diff --git a/sinergym/envs/eplus_env.py b/sinergym/envs/eplus_env.py index 76870a0403..34370ff3a1 100644 --- a/sinergym/envs/eplus_env.py +++ b/sinergym/envs/eplus_env.py @@ -354,7 +354,6 @@ def step(self, self.logger.warning( 'Step: The action {} is not correct for the Action Space {}'.format( action, self._action_space)) - raise err # Check if episode existed and is not terminated try: