From c3756f8745cac215ec7f53845aa439d5aac4ef74 Mon Sep 17 00:00:00 2001 From: akashvelu Date: Wed, 27 May 2020 09:07:46 -0700 Subject: [PATCH 1/2] Fixed trajectory_table_path --- flow/core/experiment.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flow/core/experiment.py b/flow/core/experiment.py index 779fdb0f4..82cdcd943 100755 --- a/flow/core/experiment.py +++ b/flow/core/experiment.py @@ -213,7 +213,7 @@ def rl_actions(*_): # Delete the .xml version of the emission file. os.remove(emission_path) - trajectory_table_path = './data/' + source_id + ".csv" + trajectory_table_path = dir_path + source_id + ".csv" upload_file_path = generate_trajectory_from_flow(trajectory_table_path, extra_info, partition_name) if partition_name: From 7f68c503945c14eec9ca81fab228759d50668b39 Mon Sep 17 00:00:00 2001 From: akashvelu Date: Wed, 27 May 2020 09:21:09 -0700 Subject: [PATCH 2/2] Fixed trajectory_table_path --- flow/visualize/i210_replay.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flow/visualize/i210_replay.py b/flow/visualize/i210_replay.py index 57e72586a..af19111dc 100644 --- a/flow/visualize/i210_replay.py +++ b/flow/visualize/i210_replay.py @@ -329,7 +329,7 @@ def replay(args, flow_params, output_dir=None, transfer_test=None, rllib_config= emission_to_csv(emission_path, output_path=output_path) # generate the trajectory output file - trajectory_table_path = './data/' + source_id + ".csv" + trajectory_table_path = dir_path + source_id + ".csv" upload_file_path = generate_trajectory_from_flow(trajectory_table_path, extra_info) # upload to s3 if asked