From e5bb770ffab7a971bd12da7e5d5d91d02ed7aff5 Mon Sep 17 00:00:00 2001 From: "Verbeek, J.M. (Janneke)" <j.verbeek@student.ru.nl> Date: Wed, 4 Dec 2019 16:37:39 +0100 Subject: [PATCH] What in tarnation, there's a bug now which causes loads of skips in the data --- umbra/model.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/umbra/model.py b/umbra/model.py index 7f67dd85..02807ba7 100644 --- a/umbra/model.py +++ b/umbra/model.py @@ -130,16 +130,14 @@ class Model: else: pass elif self._multi_data_shadow and self._multi_data_source: + for key, source in self._multi_data_source.items(): for key2, shadow in self._multi_data_shadow.items(): - #TODO: Problem: what if filename does not comply - if key in key2: - print("result of", key, key2) - print("*"*100) + if key == ut.filter_key(key2): result = self._stats.analyze(source, shadow) - ut.add_to_dict(key+"_res", result, self._multi_results) + self._stats = Statistics(None) else: pass -- GitLab