From 24f86ac88d7912bfbd0cf394fcb1b53a891244c9 Mon Sep 17 00:00:00 2001 From: Parthib Roy Date: Sat, 4 Jan 2025 23:00:26 -0800 Subject: [PATCH] fix codeql --- .../Input/distributionParameters/distributionMain.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/python/impactx/dashboard/Input/distributionParameters/distributionMain.py b/src/python/impactx/dashboard/Input/distributionParameters/distributionMain.py index cdcb06e3d..a37b8a32f 100644 --- a/src/python/impactx/dashboard/Input/distributionParameters/distributionMain.py +++ b/src/python/impactx/dashboard/Input/distributionParameters/distributionMain.py @@ -99,8 +99,8 @@ def populate_distribution_parameters(selected_distribution): for parameter in selected_distribution_parameters ] - generalFunctions.update_simulation_validation_status() - return selected_distribution_parameters + generalFunctions.update_simulation_validation_status() + return state.selected_distribution_parameters def update_distribution_parameters(