Skip to content

Commit

Permalink
add check
Browse files Browse the repository at this point in the history
  • Loading branch information
Howuhh committed Mar 4, 2024
1 parent 92a54ff commit 055cc63
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/xminigrid/manual_control.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ def close(self) -> None:
if "XLand" in args.env_id:
bench = xminigrid.load_benchmark(args.benchmark_id)
env_params = env_params.replace(ruleset=bench.get_ruleset(args.ruleset_id))
assert hasattr(env_params, "ruleset")
print_ruleset(env_params.ruleset)
print()

Expand Down

0 comments on commit 055cc63

Please sign in to comment.