Farama-Foundation / Minigrid

Simple and easily configurable grid world environments for reinforcement learning
https://minigrid.farama.org/
Other
2.09k stars 604 forks source link

fix entry point typo #306

Closed jbloomAus closed 1 year ago

jbloomAus commented 1 year ago

Description

Environment register "MiniGrid-SimpleCrossingS11N5-v0" had an entrypoint "gym_minigrid.envs:CrossingEnv" instead of minigrid.envs:CrossingEnv. It wasn't being picked up on in the tests since the utils used a string match on the entrypoint itself so wasn't checking if this env would render. The current value leads to an error if gym_minigrid (old package) is not installed.

Fixes (a bug I found myself)

Type of change

Please delete options that are not relevant.

Checklist:

I'd write a test but one exists. I can't think of a nice way to test this but a search on the code base for gym_minigrid now turns up empty.