From e62dc2e7eb57973c0c1c2586afda9f6144be0724 Mon Sep 17 00:00:00 2001 From: Erik Nygren <erik.nygren@sbb.ch> Date: Sun, 1 Sep 2019 16:51:51 -0400 Subject: [PATCH] fixed formatting --- flatland/envs/rail_env.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flatland/envs/rail_env.py b/flatland/envs/rail_env.py index ea9c16e1..d59ca7dc 100644 --- a/flatland/envs/rail_env.py +++ b/flatland/envs/rail_env.py @@ -329,7 +329,7 @@ class RailEnv(Environment): # The train is broken if agent.malfunction_data['malfunction'] > 0: - # Last step of malfunction --> Agent starts moving again + # Last step of malfunction --> Agent starts moving again after getting fixed if agent.malfunction_data['malfunction'] < 2: agent.malfunction_data['malfunction'] -= 1 self.agents[i_agent].moving = True -- GitLab