Skip to content

Commit c98e896

Browse files
committed
tmp commit ot check ci tests
1 parent 78ba9ed commit c98e896

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

vtr_flow/scripts/run_vtr_flow.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ def vtr_command_argparser(prog=None):
187187

188188
house_keeping.add_argument(
189189
"-temp_dir",
190-
default=os.getcwd() + "/temp",
190+
default=None,
191191
help="Absolute Directory to run the flow in (will be created if non-existent).",
192192
)
193193

@@ -523,8 +523,10 @@ def vtr_command_main(arg_list, prog=None):
523523
args, unknown_args = vtr_command_argparser(prog).parse_known_args(arg_list)
524524
error_status = "Error"
525525

526-
assert args.temp_dir
527-
temp_dir = Path(args.temp_dir)
526+
if args.temp_dir is None:
527+
temp_dir = Path("./temp")
528+
else:
529+
temp_dir = Path(args.temp_dir)
528530
# Specify how command should be run
529531
command_runner = vtr.CommandRunner(
530532
track_memory=args.track_memory_usage,

0 commit comments

Comments
 (0)