From bef71a8e60b52224cd1e22e8c5f6df27e5623c99 Mon Sep 17 00:00:00 2001 From: Sam van der Zwan Date: Tue, 4 Mar 2025 11:45:05 +0100 Subject: [PATCH] fixed settign the filter for the profile to use correct syntax --- src/simulator_worker/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/simulator_worker/utils.py b/src/simulator_worker/utils.py index 9104ac0..19c08ec 100644 --- a/src/simulator_worker/utils.py +++ b/src/simulator_worker/utils.py @@ -267,7 +267,7 @@ def create_output_esdl(input_esdl: str, simulation_result: pd.DataFrame) -> str: startDate=simulation_result.index[0], endDate=simulation_result.index[-1], id=str(uuid.uuid4()), - filters=f""assetId"='{asset_id}'" + filters=f"\"assetId\"='{asset_id}'" ) profile_attributes.profileQuantityAndUnit = get_profileQuantityAndUnit(profile_name)