Rename configs
This commit is contained in:
@@ -37,7 +37,7 @@ def data_manipulation_config_path() -> Path:
|
|||||||
:return: Path to the example config.
|
:return: Path to the example config.
|
||||||
:rtype: Path
|
:rtype: Path
|
||||||
"""
|
"""
|
||||||
path = _EXAMPLE_CFG / "example_config.yaml"
|
path = _EXAMPLE_CFG / "data_manipulation.yaml"
|
||||||
if not path.exists():
|
if not path.exists():
|
||||||
msg = f"Example config does not exist: {path}. Have you run `primaite setup`?"
|
msg = f"Example config does not exist: {path}. Have you run `primaite setup`?"
|
||||||
_LOGGER.error(msg)
|
_LOGGER.error(msg)
|
||||||
|
|||||||
@@ -35,7 +35,7 @@
|
|||||||
"\n",
|
"\n",
|
||||||
"# If you get an error saying this config file doesn't exist, you may need to run `primaite setup` in your command line\n",
|
"# If you get an error saying this config file doesn't exist, you may need to run `primaite setup` in your command line\n",
|
||||||
"# to copy the files to your user data path.\n",
|
"# to copy the files to your user data path.\n",
|
||||||
"with open(PRIMAITE_PATHS.user_config_path / 'example_config/example_config_2_rl_agents.yaml', 'r') as f:\n",
|
"with open(PRIMAITE_PATHS.user_config_path / 'example_config/data_manipulation_marl.yaml', 'r') as f:\n",
|
||||||
" cfg = yaml.safe_load(f)\n",
|
" cfg = yaml.safe_load(f)\n",
|
||||||
"\n",
|
"\n",
|
||||||
"ray.init(local_mode=True)"
|
"ray.init(local_mode=True)"
|
||||||
|
|||||||
Reference in New Issue
Block a user