From fb51320ae1ce8a03d8ad2382eae1f98c64e56e91 Mon Sep 17 00:00:00 2001 From: Joshua Fife Date: Thu, 2 Nov 2023 09:23:42 -0600 Subject: [PATCH] fixed python formating --- vtr_flow/scripts/run_vtr_flow.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/vtr_flow/scripts/run_vtr_flow.py b/vtr_flow/scripts/run_vtr_flow.py index 416a711feb9..2ab80c3672e 100755 --- a/vtr_flow/scripts/run_vtr_flow.py +++ b/vtr_flow/scripts/run_vtr_flow.py @@ -524,11 +524,9 @@ def vtr_command_main(arg_list, prog=None): error_status = "Error" assert args.temp_dir - temp_dir = Path(args.temp_dir) if not str(temp_dir).startswith("/"): temp_dir = Path(os.getcwd() + "/" + args.temp_dir) - # Specify how command should be run command_runner = vtr.CommandRunner( track_memory=args.track_memory_usage, @@ -767,7 +765,7 @@ def process_vpr_args(args, prog, temp_dir, vpr_args): return vpr_args -def get_sdc_file(sdc_file, prog, temp_dir): +def get_sdc_file(sdc_file, temp_dir): """ takes in the sdc_file and returns a path to that file if it exists. """ @@ -779,7 +777,7 @@ def get_sdc_file(sdc_file, prog, temp_dir): return str(vtr.verify_file(sdc_file_copy, "sdc file")) -def get_read_vpr_constraints(read_vpr_constraints, prog, temp_dir): +def get_read_vpr_constraints(read_vpr_constraints, temp_dir): """ takes in the read_vpr_constraints and returns a path to that file if it exists. """