diff --git a/src/mnt/bench/backend.py b/src/mnt/bench/backend.py index 24f6f62..ee34ff4 100644 --- a/src/mnt/bench/backend.py +++ b/src/mnt/bench/backend.py @@ -304,14 +304,17 @@ def prettify_table(table: pd.DataFrame) -> pd.DataFrame: clocking_scheme_mapping = {"2ddwave": "2DDWave", "use": "USE", "res": "RES", "esr": "ESR", "row": "ROW"} table.replace({"clocking_scheme": clocking_scheme_mapping}, inplace=True) + physical_design_algorithm_mapping = {"nanoplacer": "NanoPlaceR"} + table.replace({"physical_design_algorithm": physical_design_algorithm_mapping}, inplace=True) + opt_mapping = {"opt": "✓", "unopt": "✗"} table.replace({"optimized": opt_mapping}, inplace=True) ord_mapping = {"ord": "✓", "unord": "✗"} table.replace({"ordered": ord_mapping}, inplace=True) - table["size_compressed"] = table["size_compressed"].apply(lambda x: humanize.naturalsize(x)) - table["size_uncompressed"] = table["size_uncompressed"].apply(lambda x: humanize.naturalsize(x)) + table["size_compressed"] = table["size_compressed"].apply(humanize.naturalsize) + table["size_uncompressed"] = table["size_uncompressed"].apply(humanize.naturalsize) column_mapping = { "benchmark": "Benchmark Function",