Commit 09e3f9f9 authored by nimishsantosh107's avatar nimishsantosh107
Browse files

Bump version 3.0.3 → 3.0.4, arrival_time bug fix

parent c2d20218
Pipeline #8856 failed with stages
in 8 minutes and 7 seconds
......@@ -4,4 +4,4 @@
__author__ = """S.P. Mohanty"""
__email__ = 'mohanty@aicrowd.com'
__version__ = '3.0.3'
__version__ = '3.0.4'
......@@ -492,7 +492,7 @@ class RailEnv(Environment):
def handle_done_state(self, agent):
""" Any updates to agent to be made in Done state """
if agent.state == TrainState.DONE:
if agent.state == TrainState.DONE and agent.arrival_time is None:
agent.arrival_time = self._elapsed_steps
if self.remove_agents_at_target:
agent.position = None
......
[bumpversion]
current_version = 3.0.3
current_version = 3.0.4
commit = True
tag = True
......
......@@ -80,6 +80,6 @@ setup(
test_suite='tests',
tests_require=test_requirements,
url='https://gitlab.aicrowd.com/flatland/flatland',
version='3.0.3',
version='3.0.4',
zip_safe=False,
)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment