Skip to content

Commit

Permalink
still debuging github
Browse files Browse the repository at this point in the history
  • Loading branch information
BDonnot committed Jul 10, 2024
1 parent 627343c commit fbfa8dd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions grid2op/Environment/baseEnv.py
Original file line number Diff line number Diff line change
Expand Up @@ -4111,7 +4111,9 @@ def _aux_gen_classes(cls_other, sys_path, _add_class_output=False):
print(f"DEBUG CI: {sys.path}")
print(f"DEBUG CI: {sorted(os.listdir(sub_repo))}")
print(f"DEBUG CI: {sorted(os.listdir(os.path.join(sub_repo, tmp_nm)))}")
importlib.invalidate_caches()
importlib.reload(super_module)
print(f"DEBUG CI: {super_module.__dict__}")
module = importlib.import_module(f".{nm_}", package=tmp_nm)
# cls_for_test = importlib.import_module(f"{tmp_nm}.Environment_l2rpn_case14_sandbox_file")
# raise EnvError(f"Impossible to load the class {tmp_nm}.{nm_}") from exc_
Expand Down

0 comments on commit fbfa8dd

Please sign in to comment.