diff --git a/abm/lib/common.py b/abm/lib/common.py index 38ca619..4eccbb9 100644 --- a/abm/lib/common.py +++ b/abm/lib/common.py @@ -250,7 +250,7 @@ def summarize_metrics(gi, jobs: list): def print_markdown_table(table: list) -> None: print('| Tool ID | History | State | CPU (sec) | Memory (GB) | Runtime (sec)|') - print('|---|---|---|---|---|---|') + print('|---|---|---|---:|---:|---:|') GB = 1024 * 1024 * 1024 for row in table[1:]: history = row[2] @@ -261,7 +261,7 @@ def print_markdown_table(table: list) -> None: runtime = float(row[15]) # line = ' | '.join( row[i] for i in [0,2,3,4,7,11,15]) # print(f'| {line} |') - print(f'| {tool_id} | {history} | {state} | {cpu:6.1f} | {memory:3.3f} | {runtime:6.1f} |') + print(f'| {tool_id} | {history} | {state} | {cpu:5.1f} | {memory:3.3f} | {runtime:5.1f} |') def metrics_to_dict(metrics: list, accept: list):