Skip to content

Commit c218cbf

Browse files
committed
added comment to explain creation of absolute path
1 parent c1a78ce commit c218cbf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

vtr_flow/scripts/run_vtr_flow.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -525,6 +525,8 @@ def vtr_command_main(arg_list, prog=None):
525525

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

0 commit comments

Comments
 (0)