From 453207d552e67901c6110235c41ee5256175e043 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98yvind=20Eide?= Date: Mon, 14 Mar 2022 15:02:51 +0100 Subject: [PATCH] Fix typo --- semeio/workflows/correlated_observations_scaling/obs_utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/semeio/workflows/correlated_observations_scaling/obs_utils.py b/semeio/workflows/correlated_observations_scaling/obs_utils.py index 30046dabb..528fcad3f 100644 --- a/semeio/workflows/correlated_observations_scaling/obs_utils.py +++ b/semeio/workflows/correlated_observations_scaling/obs_utils.py @@ -106,7 +106,7 @@ def _active_list_from_index_list(index_list): return active_list -def keys_with_data(observations, keys, ensamble_size, storage): +def keys_with_data(observations, keys, ensemble_size, storage): """ Checks that all keys have data and returns a list of error messages """ @@ -115,7 +115,7 @@ def keys_with_data(observations, keys, ensamble_size, storage): if len(active_realizations) == 0: return [] - active_mask = BoolVector.createFromList(ensamble_size, active_realizations) + active_mask = BoolVector.createFromList(ensemble_size, active_realizations) return [key for key in keys if observations[key].hasData(active_mask, storage)]