Skip to content

Commit

Permalink
Merge pull request #32 from bluesky/31-AD_HDF5_SINGLE-return-sliceable
Browse files Browse the repository at this point in the history
AD_HDF5_SINGLE: return sliceable object
  • Loading branch information
danielballan authored Sep 30, 2022
2 parents 05e736e + 8b04aeb commit c3db30d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions area_detector_handlers/handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = []
Expand Down

0 comments on commit c3db30d

Please sign in to comment.