Skip to content

Commit

Permalink
Merge pull request #952 from flow-project/av-emission-path
Browse files Browse the repository at this point in the history
Fixed trajectory_table_path
  • Loading branch information
akashvelu authored May 27, 2020
2 parents 3a501da + 7f68c50 commit 7ab2b3e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion flow/core/experiment.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion flow/visualize/i210_replay.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7ab2b3e

Please sign in to comment.