Skip to content

Commit

Permalink
Update src/osa/scripts/gainsel_webmaker.py
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel Morcuende <[email protected]>
  • Loading branch information
rcervinoucm and morcuended authored Jul 5, 2024
1 parent e92e8ef commit 13096ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/osa/scripts/gainsel_webmaker.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ def check_failed_jobs(date: str):
'PENDING',
'COMPLETED'))

gainsel_df['GainSel%'] = round(gainsel_df['success']*100/(gainsel_df['pending']+gainsel_df['failed']+gainsel_df['success'])
,1)
total_job_number = gainsel_df['pending'] + gainsel_df['failed'] + gainsel_df['success']
gainsel_df['GainSel%'] = round(gainsel_df['success'] * 100 / total_job_number, 1)

summary_table = summary_table.to_pandas()

Expand Down

0 comments on commit 13096ed

Please sign in to comment.