Skip to content

Commit

Permalink
Don't try to index a flat array with two indices
Browse files Browse the repository at this point in the history
  • Loading branch information
SolarDrew committed Dec 9, 2024
1 parent 18b7e0b commit e3f931c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dkist/dataset/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def dataset_info_str(ds_in):
dstype = type(ds_in).__name__
if is_tiled:
tile_shape = ds_in.shape
ds = ds_in[0, 0]
ds = ds_in.flat[0]
else:
ds = ds_in
wcs = ds.wcs.low_level_wcs
Expand Down

0 comments on commit e3f931c

Please sign in to comment.