Comply to Python formatting

Signed-off-by: colramos425 <colramos@amd.com>


[ROCm/rocprofiler-compute commit: 000867e106]
Tento commit je obsažen v:
colramos425
2023-01-13 13:58:21 -06:00
rodič 6ca9f52cfb
revize 438884f638
2 změnil soubory, kde provedl 12 přidání a 5 odebrání
+4 -3
Zobrazit soubor
@@ -143,8 +143,7 @@ def run_gui(args, runs):
num_results,
)
runs[args.path[0][0]].raw_pmc = file_io.create_df_pmc(
args.path[0][0],
args.verbose
args.path[0][0], args.verbose
) # create mega df
parser.load_kernel_top(runs[args.path[0][0]], args.path[0][0])
@@ -189,7 +188,9 @@ def run_cli(args, runs):
args.time_unit,
num_results,
)
runs[d[0]].raw_pmc = file_io.create_df_pmc(d[0], args.verbose) # creates mega dataframe
runs[d[0]].raw_pmc = file_io.create_df_pmc(
d[0], args.verbose
) # creates mega dataframe
is_gui = False
parser.load_table_data(
runs[d[0]], d[0], is_gui, args.g, args.verbose
+8 -2
Zobrazit soubor
@@ -103,8 +103,14 @@ def show_all(runs, archConfigs, output, decimal, time_unit, selected_cols, verbo
):
if run != base_run:
# calc percentage over the baseline
base_df[header]=[float(x) if x != '' else float(0) for x in base_df[header]]
cur_df[header]=[float(x) if x != '' else float(0) for x in cur_df[header]]
base_df[header] = [
float(x) if x != "" else float(0)
for x in base_df[header]
]
cur_df[header] = [
float(x) if x != "" else float(0)
for x in cur_df[header]
]
t_df = (
pd.concat(
[