Skip to content

Commit

Permalink
added comment to explain creation of absolute path
Browse files Browse the repository at this point in the history
  • Loading branch information
WhiteNinjaZ committed Jun 4, 2024
1 parent c1a78ce commit c218cbf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions vtr_flow/scripts/run_vtr_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -525,6 +525,8 @@ def vtr_command_main(arg_list, prog=None):

assert args.temp_dir
temp_dir = Path(args.temp_dir)
# Create an absolute path is it is not already provided.
# Parmys throws an error if an absolute path is not provided.
if not str(temp_dir).startswith("/"):
temp_dir = Path(os.getcwd() + "/" + args.temp_dir)
# Specify how command should be run
Expand Down

0 comments on commit c218cbf

Please sign in to comment.