From 3d54e06459a09bb29f96298ed48a95b56eebbfaa Mon Sep 17 00:00:00 2001 From: "Yngve S. Kristiansen" Date: Wed, 23 Oct 2024 08:03:53 +0200 Subject: [PATCH] (squash) Select for summary key in local_ensemble --- src/ert/dark_storage/common.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/ert/dark_storage/common.py b/src/ert/dark_storage/common.py index 47d2f86a2cf..4a6ecb47797 100644 --- a/src/ert/dark_storage/common.py +++ b/src/ert/dark_storage/common.py @@ -113,15 +113,14 @@ def data_for_key( if response_type == "summary": summary_data = ensemble.load_responses( - "summary", - tuple(ensemble.get_realization_list_with_responses("summary")), + response_key, + tuple(ensemble.get_realization_list_with_responses(response_key)), ) if summary_data.is_empty(): return pd.DataFrame() df = ( - summary_data.filter(polars.col("response_key").eq(key)) - .rename({"time": "Date", "realization": "Realization"}) + summary_data.rename({"time": "Date", "realization": "Realization"}) .drop("response_key") .to_pandas() )