Skip to content

Commit

Permalink
Bugfixes and improvements to ParameterFilter and ParameterAnalysis (
Browse files Browse the repository at this point in the history
#924)

Co-authored-by: Hans Kallekleiv <[email protected]>
  • Loading branch information
tnatt and HansKallekleiv authored Jan 20, 2022
1 parent 996b773 commit 8cebeb1
Show file tree
Hide file tree
Showing 13 changed files with 644 additions and 282 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- [#929](https://github.com/equinor/webviz-subsurface/pull/929) - `TornadoWidget` - No longer skipping sensitivities with `SENSNAME="ref"` from tornado bars if there is more than one realizations with `SENSNAME="ref"`.
- [#932](https://github.com/equinor/webviz-subsurface/pull/932) - `RftPlotter` - Fixed bug related to calculated correlations returnin NaN if the response variable has constant values.

### Changed

- [#924](https://github.com/equinor/webviz-subsurface/pull/924) - Improvements to the `ParameterFilter` functionality, e.g information regarding active filters and which relizatons are filtered out, and better handling of multiple ensembles. Improvements to the `ParameterAnalysis` plugin, e.g. added boxplot, fixed table formatting and update of parameters based on selected ensemble.

## [0.2.9] - 2022-01-06

### Fixed
Expand Down
4 changes: 2 additions & 2 deletions tests/integration_tests/test_parameter_filter.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
from webviz_subsurface._components.parameter_filter import ParameterFilter


def test_dataframe(app, testdata_folder) -> None:
def test_dataframe(testdata_folder) -> None:

dframe = pd.read_csv(
testdata_folder / "reek_test_data" / "aggregated_data" / "parameters.csv"
)
component = ParameterFilter(app, "test", dframe)
component = ParameterFilter("test", dframe)
# pylint: disable=protected-access
assert set(component._discrete_parameters) == set(
["FWL", "MULTFLT_F1", "INTERPOLATE_WO", "COHIBA_MODEL_MODE", "RMS_SEED"]
Expand Down
Loading

0 comments on commit 8cebeb1

Please sign in to comment.