From 83b3840236d1d5a3a9c1938fd6bd3d7d1e8c26fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=85smund=20Birkeland?= Date: Wed, 30 Jan 2019 15:57:19 +0100 Subject: [PATCH] Fix condition for obs vector to actual implementation type --- python/res/enkf/key_manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/res/enkf/key_manager.py b/python/res/enkf/key_manager.py index 0e52a79b02..5aded8cb96 100644 --- a/python/res/enkf/key_manager.py +++ b/python/res/enkf/key_manager.py @@ -113,7 +113,7 @@ def genDataKeysWithObservations(self): enkf_obs = self._ert().getObservations() gen_data_obs_keys = [] for obs_vector in enkf_obs: - if obs_vector is EnkfObservationImplementationType.GEN_OBS: + if obs_vector.getImplementationType() is EnkfObservationImplementationType.GEN_OBS: report_step = obs_vector.activeStep() key = obs_vector.getDataKey()