diff --git a/CHANGELOG.md b/CHANGELOG.md index 360a706c03..583c16c7d4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed - [#921](https://github.com/equinor/webviz-subsurface/pull/921) - Fixed bug with History Vectors in new `SimulationTimeSeries` plugin. Replaced hard coded realization number of 0, with first valid realization in provider. +- [#926](https://github.com/equinor/webviz-subsurface/pull/926) - `VolumetricAnalysis` - Fixed bug when building portables with aggregated (csvfile_vol) input. ## [0.2.9] - 2022-01-06 diff --git a/webviz_subsurface/plugins/_volumetric_analysis/volumetric_analysis.py b/webviz_subsurface/plugins/_volumetric_analysis/volumetric_analysis.py index 1820afba0b..74939a2851 100644 --- a/webviz_subsurface/plugins/_volumetric_analysis/volumetric_analysis.py +++ b/webviz_subsurface/plugins/_volumetric_analysis/volumetric_analysis.py @@ -226,11 +226,12 @@ def add_webvizstore(self) -> List[Tuple[Callable, list]]: store_functions = [] if self.csvfile_vol is not None: store_functions.append((read_csv, [{"csv_file": self.csvfile_vol}])) + else: + store_functions.extend(self.emodel.webvizstore) if self.fipfile is not None: store_functions.append((get_path, [{"path": self.fipfile}])) if self.csvfile_parameters is not None: store_functions.append((read_csv, [{"csv_file": self.csvfile_parameters}])) - store_functions.extend(self.emodel.webvizstore) return store_functions