From 843c8bcd5c201bd8e20b42f3004bbaed9d7cea09 Mon Sep 17 00:00:00 2001 From: lakshith Date: Sat, 7 Sep 2024 22:24:15 +0530 Subject: [PATCH] checking current metrics bug fix --- app/server/labml_app/analyses/experiments/custom_metrics.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/server/labml_app/analyses/experiments/custom_metrics.py b/app/server/labml_app/analyses/experiments/custom_metrics.py index 29cbc61a3..c821896af 100644 --- a/app/server/labml_app/analyses/experiments/custom_metrics.py +++ b/app/server/labml_app/analyses/experiments/custom_metrics.py @@ -223,7 +223,7 @@ async def create_magic_metric(request: Request, run_uuid: str) -> Any: continue has_current_indicators = False for indicator_list in current_selected_indicators: - if indicator_list == preferences['series_preferences']: + if sorted(indicator_list) == sorted([x for x in preferences['series_preferences'] if x in run_indicators]): has_current_indicators = True break if has_current_indicators: