Skip to content

Commit

Permalink
fixed python formating
Browse files Browse the repository at this point in the history
  • Loading branch information
WhiteNinjaZ committed Nov 2, 2023
1 parent 70a3510 commit fb51320
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions vtr_flow/scripts/run_vtr_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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.
"""
Expand All @@ -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.
"""
Expand Down

0 comments on commit fb51320

Please sign in to comment.