Skip to content

Commit

Permalink
Fix for TMA metric category change
Browse files Browse the repository at this point in the history
  • Loading branch information
calebbiggers committed May 15, 2024
1 parent f750f7b commit 285cfd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/perf_format_converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ def translate_metric_name(self, metric):
if metric["MetricName"] in self.metric_name_replacement_dict:
return self.metric_name_replacement_dict[metric["MetricName"]]
else:
if metric["Category"] == "TMA":
if "TMA" in metric["Category"]:
return "tma_" + metric["MetricName"].replace(" ", "_").lower()
return metric["MetricName"]

Expand Down

0 comments on commit 285cfd6

Please sign in to comment.