Skip to content

Commit

Permalink
Fix FutureWarning - cast to dtype (#1309)
Browse files Browse the repository at this point in the history
  • Loading branch information
HansKallekleiv authored Dec 19, 2024
1 parent 2af9699 commit 2de887c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions webviz_subsurface/_models/parameter_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ def _check_if_sensitivity_run(self) -> bool:
# if mix of gen_kw and sensitivity ensembles add
# dummy sensitivvity columns to gen_kw ensembles
gen_kw_mask = self._dataframe["SENSNAME"].isnull()
self._dataframe["SENSNAME"] = self._dataframe["SENSNAME"].astype(str)
self._dataframe.loc[gen_kw_mask, "SENSNAME"] = "🎲"
self._dataframe.loc[gen_kw_mask, "SENSCASE"] = "p10_p90"

Expand Down

0 comments on commit 2de887c

Please sign in to comment.