From cdb3a4a5b2d35dfdbb0d1a9e1229c420af529f2d Mon Sep 17 00:00:00 2001 From: Anastasia Psarou <97515093+AnastasiaPsarou@users.noreply.github.com> Date: Thu, 5 Dec 2024 11:06:20 +0100 Subject: [PATCH] generate_agents_data path --- RouteRL/generate_agent_data.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RouteRL/generate_agent_data.py b/RouteRL/generate_agent_data.py index 5ebf7bd28..12f4788d4 100644 --- a/RouteRL/generate_agent_data.py +++ b/RouteRL/generate_agent_data.py @@ -57,7 +57,7 @@ def save_agents(agents_df, save_to): num_origins = len(params[kc.ORIGINS]) num_destinations = len(params[kc.DESTINATIONS]) - agents_data_path = kc.AGENTS_DATA_PATH + agents_data_path = params[kc.AGENTS_DATA_PATH] agents_df = generate_agents_data(num_agents, ratio_mutating, agent_attributes, simulation_timesteps, num_origins, num_destinations) save_agents(agents_df, agents_data_path)