Skip to content

Commit 99634c0

Browse files
author
Shane Snyder
committed
small bug fix in job_stats rich print
1 parent c5cf866 commit 99634c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

darshan-util/pydarshan/darshan/cli/job_stats.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ def rich_print(df, mod, order_by):
146146
column.style = column.header_style = column.footer_style = "bold cyan"
147147
for _, row in df.iterrows():
148148
job_str = f"[bold]job id[/bold]: {row['job_id']}\n"
149-
job_str = f"[bold]uid[/bold]: {row['uid']}\n"
149+
job_str += f"[bold]uid[/bold]: {row['uid']}\n"
150150
job_str += f"[bold]nprocs[/bold]: {row['nprocs']}\n"
151151
job_str += f"[bold]start time[/bold]: {datetime.fromtimestamp(row['start_time']).strftime('%m/%d/%Y %H:%M:%S')}\n"
152152
job_str += f"[bold]end time[/bold]: {datetime.fromtimestamp(row['end_time']).strftime('%m/%d/%Y %H:%M:%S')}\n"

0 commit comments

Comments
 (0)