Skip to content

Commit

Permalink
fix broken tests
Browse files Browse the repository at this point in the history
Signed-off-by: DONNOT Benjamin <[email protected]>
  • Loading branch information
BDonnot committed Nov 22, 2024
1 parent e03f5d7 commit d0eacac
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions grid2op/Environment/multiMixEnv.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,11 +256,7 @@ def __init__(

# Make sure GridObject class attributes are set from first env
# Should be fine since the grid is the same for all envs
if not _add_cls_nm_bk:
self.multi_env_name = _OverloadNameMultiMixInfo(None, envs_dir, os.path.basename(os.path.abspath(envs_dir)), _add_to_name)
else:
_add_to_name = _added_bk_name + _add_to_name
self.multi_env_name = _OverloadNameMultiMixInfo(None, envs_dir, os.path.basename(os.path.abspath(envs_dir)), _add_to_name)
self.multi_env_name = _OverloadNameMultiMixInfo(None, envs_dir, os.path.basename(os.path.abspath(envs_dir)), _add_to_name)

env_for_init = self._aux_create_a_mix(envs_dir,
li_mix_nms[0],
Expand Down

0 comments on commit d0eacac

Please sign in to comment.