[bugfix] compare now shows histogram for all stations

This commit is contained in:
Darius Arnold 2017-08-21 12:19:23 +02:00
parent e0e0be48c7
commit 09374f8242

View File

@ -154,7 +154,7 @@ class Comparison(object):
def get_array(self, phase, method_name): def get_array(self, phase, method_name):
method = operator.methodcaller(method_name) method = operator.methodcaller(method_name)
pdf_list = self.get_all(phase) pdf_list = self.get_all(phase)
rarray = map(method, pdf_list) rarray = list(map(method, pdf_list))
return np.array(rarray) return np.array(rarray)
def get_expectation_array(self, phase): def get_expectation_array(self, phase):