Apply suggestions from code review

This commit is contained in:
Sunil Samra
2023-07-17 14:21:37 +00:00
parent ec938ce761
commit dd21f9440f

View File

@@ -702,8 +702,6 @@ class ObservationsHandler:
# Instantiate the handler # Instantiate the handler
handler = cls() handler = cls()
if obs_space_config.get("flatten"):
handler.flatten = True
for component_cfg in obs_space_config["components"]: for component_cfg in obs_space_config["components"]:
# Figure out which class can instantiate the desired component # Figure out which class can instantiate the desired component