Skip to content

Commit

Permalink
amend
Browse files Browse the repository at this point in the history
  • Loading branch information
matteobettini committed Jun 10, 2024
1 parent 8ebff2e commit a2352b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions benchmarl/environments/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# This is a registry mapping "envname/task_name" to the EnvNameTask.TASK_NAME enum
# It is used by automatically load task enums from yaml files.
# It is populated automatically.
_task_config_registry = {}
task_config_registry = {}

# This is a registry mapping "envname_taskname" to the TaskConfig python dataclass of the task.
# It is used by hydra to validate loaded configs.
Expand All @@ -38,4 +38,4 @@
task_config_class = _get_task_config_class(environemnt_name, task_name)
if task_config_class is not None:
_task_class_registry[full_task_name.replace("/", "_")] = task_config_class
_task_config_registry.update(env_config_registry)
task_config_registry.update(env_config_registry)

0 comments on commit a2352b2

Please sign in to comment.