-
Notifications
You must be signed in to change notification settings - Fork 141
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Is your feature request related to a problem? Please describe.
I would like to be able to point to a custom config.py file at grid2op.make
For the same grid I have several config.py files and I would like to be able to switch config without having to duplicate my environment folder
Describe the solution you'd like
Ex. This is how i would like it to be done:
import grid2op
env_name = "environment/folder/"
env_conf_1 = grid2op.make(env_name, _config_path="environment/folder/configs/config_1.py")
env_conf_2 = grid2op.make(env_name, _config_path="environment/folder/configs/config_2.py")Describe alternatives you've considered
Other alternatives :
- Duplicate entire environment folder
- Import config files using
importliband load env usinggrid2op.make(env_name, **config_data)
Both those alternatives seem suboptimal
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request