diff --git a/area_detector_handlers/handlers.py b/area_detector_handlers/handlers.py index f1fc1eb..77877c8 100644 --- a/area_detector_handlers/handlers.py +++ b/area_detector_handlers/handlers.py @@ -531,9 +531,9 @@ def __call__(self, point_number): ret = [] for fn in self._fnames_for_point(point_number): f = h5py.File(fn, 'r') - data = f[self._key] + data = f[self._key][:] ret.append(data) - return ret + return np.stack(ret) def get_file_list(self, datum_kwargs): ret = []