From 09374f8242585276eb83e448209d535a3bfe6355 Mon Sep 17 00:00:00 2001 From: Darius Arnold Date: Mon, 21 Aug 2017 12:19:23 +0200 Subject: [PATCH] [bugfix] compare now shows histogram for all stations --- pylot/core/pick/compare.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pylot/core/pick/compare.py b/pylot/core/pick/compare.py index f8ec8ecc..24caa92c 100644 --- a/pylot/core/pick/compare.py +++ b/pylot/core/pick/compare.py @@ -154,7 +154,7 @@ class Comparison(object): def get_array(self, phase, method_name): method = operator.methodcaller(method_name) pdf_list = self.get_all(phase) - rarray = map(method, pdf_list) + rarray = list(map(method, pdf_list)) return np.array(rarray) def get_expectation_array(self, phase):